forked from Minki/linux
94597ab23e
Currently the driver will try to protect all frames, which leads to a lot of odd things like sending an RTS with a zeroed RA before multicast frames, which is clearly bogus. In order to fix all of this, we need to take a step back and see what we need to achieve: * we need RTS/CTS protection if requested by the AP for the BSS, mac80211 tells us this * in that case, CTS-to-self should only be enabled when mac80211 tells us * additionally, as a hardware workaround, on some devices we have to protect aggregated frames with RTS To achieve the first two items, set up the RXON accordingly and set the protection required flag in the transmit command when mac80211 requests protection for the frame. To achieve the last item, set the rate-control RTS-requested flag for all stations that we have aggregation sessions with, and set the protection required flag when sending aggregated frames (on those devices where this is required). Since otherwise bugs can occur, do not allow the user to override the RTS-for-aggregation setting from sysfs any more. Finally, also clean up the way all these flags get set in the driver and move everything into the device-specific functions. Cc: stable@kernel.org [2.6.35] 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> |
||
---|---|---|
.. | ||
iwl3945-base.c | ||
iwl-1000.c | ||
iwl-3945-debugfs.c | ||
iwl-3945-debugfs.h | ||
iwl-3945-fh.h | ||
iwl-3945-hw.h | ||
iwl-3945-led.c | ||
iwl-3945-led.h | ||
iwl-3945-rs.c | ||
iwl-3945.c | ||
iwl-3945.h | ||
iwl-4965-hw.h | ||
iwl-4965.c | ||
iwl-5000-hw.h | ||
iwl-5000.c | ||
iwl-6000-hw.h | ||
iwl-6000.c | ||
iwl-agn-calib.c | ||
iwl-agn-debugfs.c | ||
iwl-agn-debugfs.h | ||
iwl-agn-hcmd.c | ||
iwl-agn-hw.h | ||
iwl-agn-ict.c | ||
iwl-agn-led.c | ||
iwl-agn-led.h | ||
iwl-agn-lib.c | ||
iwl-agn-rs.c | ||
iwl-agn-rs.h | ||
iwl-agn-rx.c | ||
iwl-agn-tx.c | ||
iwl-agn-ucode.c | ||
iwl-agn.c | ||
iwl-agn.h | ||
iwl-calib.h | ||
iwl-commands.h | ||
iwl-core.c | ||
iwl-core.h | ||
iwl-csr.h | ||
iwl-debug.h | ||
iwl-debugfs.c | ||
iwl-dev.h | ||
iwl-devtrace.c | ||
iwl-devtrace.h | ||
iwl-eeprom.c | ||
iwl-eeprom.h | ||
iwl-fh.h | ||
iwl-hcmd.c | ||
iwl-helpers.h | ||
iwl-io.h | ||
iwl-led.c | ||
iwl-led.h | ||
iwl-power.c | ||
iwl-power.h | ||
iwl-prph.h | ||
iwl-rx.c | ||
iwl-scan.c | ||
iwl-spectrum.h | ||
iwl-sta.c | ||
iwl-sta.h | ||
iwl-tx.c | ||
Kconfig | ||
Makefile |