summaryrefslogtreecommitdiff
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-23 14:23:30 +0100
committerJohannes Berg <johannes.berg@intel.com>2012-11-23 14:23:30 +0100
commit0172bb75073e11a5aa9d8a953bdaefb8709f00c8 (patch)
treeb9531431496b682f4933aa479a9e7c1baabd68a0 /net/wireless/util.c
parent03ae834faac9831181ae471543d9f640b75c652b (diff)
downloadlwn-0172bb75073e11a5aa9d8a953bdaefb8709f00c8.tar.gz
lwn-0172bb75073e11a5aa9d8a953bdaefb8709f00c8.zip
cfg80211: use DS or HT operation IEs to determine BSS channel
Currently, mac80211 checks the DS params IE if present and uses it for the (primary) BSS channel, instead of the one that the frame was received on. This is particularly useful in the 2.4 GHz band since a frame is often received on one of the adjacent channels due to overlap. Move this code to cfg80211 so other drivers also do this. Additionally, on 5 GHz, in particular with some (possibly) upcoming changes in 802.11ai and duplicate transmissions when wider channels are used, something similar happens. So if present, also use the (primary) channel information contained in the HT operation IE. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions