History

nl80211: renumber NL80211_FEATURE_FULL_AP_CLIENT_STATE

Adding the flag to mac80211 already without testing was clearly a mistake, one that we now pay for by having to reserve bit 13 forever. The problem is cfg80211 doesn't allow capability/rate changes for station entries that were added unassociated, so the station entries cannot be set up properly when marked associated. Change the NL80211_FEATURE_FULL_AP_CLIENT_STATE value to make it clear to userspace implementations that all current kernels don't actually support it, even though the previous bit is set, and of course also remove the flag from mac80211 until we test and fix the issues.

Johannes Berg committed 13 years ago

Commit 932dd971 parent df881292 files · +3 −3Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+2−1
@@ -3471,8 +3471,9 @@ enum nl80211_feature_flags { · 3470 unmodified lines
34713471 NL80211_FEATURE_NEED_OBSS_SCAN = 1 << 10,
34723472 NL80211_FEATURE_P2P_GO_CTWIN = 1 << 11,
34733473 NL80211_FEATURE_P2P_GO_OPPPS = 1 << 12,
3474− NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 13,
3474+ /* bit 13 is reserved */
34753475 NL80211_FEATURE_ADVERTISE_CHAN_LIMITS = 1 << 14,
3476+ NL80211_FEATURE_FULL_AP_CLIENT_STATE = 1 << 15,
34763477 };
34773478
34783479 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t