android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Harvey Harrison fd7c8a40b2 mac80211: add helpers for frame control testing
A few general categories:

1) ieee80211_has_* tests if particular fctl bits are set, the helpers are de
in the same order as the fctl defines:

A combined _has_a4 was also added to test when both FROMDS and TODS are set.

2) ieee80211_is_* is meant to test whether the frame control is of a certain
ftype - data, mgmt, ctl, and two special helpers _is_data_qos, _is_data_pres
which also test a subset of the stype space.

When testing for a particular stype applicable only to one ftype, functions
like ieee80211_is_ack have been added.  Note that the ftype is also being
checked in these helpers.  They have been added for all mgmt and ctl stypes
in the same order as the STYPE defines.

3) ieee80211_get_* is meant to take a struct ieee80211_hdr * and returns a
pointer to somewhere in the struct, see get_SA, get_DA, get_qos_ctl.

The intel wireless drivers had helpers that used this namespace, convert the
all to use the new helpers and remove the byteshifting as they were defined
in cpu-order rather than little-endian.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-06-14 12:18:12 -04:00
..
iwl3945-base.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl4965-base.c iwlwifi: unify SW rf-kill flow 2008-06-14 12:18:11 -04:00
iwl-3945-commands.h
iwl-3945-core.h
iwl-3945-debug.h
iwl-3945-hw.h
iwl-3945-io.h
iwl-3945-led.c iwlwifi: fix oops in iwl3945_led_brightness_set 2008-06-09 15:53:38 -04:00
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945-rs.h
iwl-3945.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-3945.h
iwl-4965-hw.h iwlwifi: move rate helpers to iwlcore 2008-06-14 12:18:08 -04:00
iwl-4965-rs.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-4965-rs.h iwlwifi: move rate helpers to iwlcore 2008-06-14 12:18:08 -04:00
iwl-4965.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-5000-hw.h iwlwifi: map sw and hw ampdu queues 2008-06-14 12:18:05 -04:00
iwl-5000.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-calib.c iwlwifi: general code clean up 2008-06-14 12:18:10 -04:00
iwl-calib.h iwlwifi: general code clean up 2008-06-14 12:18:10 -04:00
iwl-commands.h iwlwifi: move iwl4965_rf_kill_ct_config to iwl-core.c 2008-06-14 12:18:09 -04:00
iwl-core.c iwlwifi: unify SW rf-kill flow 2008-06-14 12:18:11 -04:00
iwl-core.h iwlwifi: unify SW rf-kill flow 2008-06-14 12:18:11 -04:00
iwl-csr.h
iwl-debug.h iwlwifi: add possibility to disable tx_power calibration 2008-06-14 12:18:05 -04:00
iwl-debugfs.c iwlwifi: add possibility to disable tx_power calibration 2008-06-14 12:18:05 -04:00
iwl-dev.h iwlwifi: unify SW rf-kill flow 2008-06-14 12:18:11 -04:00
iwl-eeprom.c iwlwifi: refactor setting tx power 2008-06-14 12:18:08 -04:00
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h iwlwifi: move aggregation code to iwl-tx.c 2008-06-03 15:00:25 -04:00
iwl-rfkill.c iwlwifi: unify SW rf-kill flow 2008-06-14 12:18:11 -04:00
iwl-rfkill.h iwlwifi: unify SW rf-kill flow 2008-06-14 12:18:11 -04:00
iwl-rx.c iwlwifi: removes the RUN_TIME_CALIB ifdef 2008-06-14 12:18:04 -04:00
iwl-scan.c iwlwifi: cleans up scanning code 2008-06-14 12:18:08 -04:00
iwl-spectrum.h
iwl-sta.c iwlwifi: general code clean up 2008-06-14 12:18:10 -04:00
iwl-sta.h iwlwifi: general code clean up 2008-06-14 12:18:10 -04:00
iwl-tx.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
Kconfig iwlwifi: removes the RUN_TIME_CALIB ifdef 2008-06-14 12:18:04 -04:00
Makefile iwlwifi: move scan to iwl-scan.c iwlcore 2008-06-14 12:18:08 -04:00