]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: add P2P NoA to probe responses
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Nov 2011 14:55:01 +0000 (06:55 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:52 +0000 (12:32 -0500)
commite4e8068b2f3c4108740d91d2a7f709f1443a9a36
tree69da0c1b02fd45dea359624c5d876412d22dd40d
parent6606f4e5045320ad1dc3eedebd3d0f9bd5d254b0
iwlagn: add P2P NoA to probe responses

Whether to use NoA or not is entire controlled
by the uCode right now, and it also adds the
attribute to beacons. We do need to add it to
probe responses in the driver though.

Keep track of the NoA notification from the
uCode and add the data to probe responses when
such are transmitted. Use RCU to manage the
lifetime.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rx.c
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h