OpenCloudOS-Kernel/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
..
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
iwl-3945-commands.h iwlwifi: iwl3945 remove 4965 commands 2008-03-25 16:41:54 -04:00
iwl-3945-core.h iwlwifi: add struct iwl_cfg 2008-03-07 16:03:00 -05:00
iwl-3945-debug.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-3945-hw.h iwlwifi: 3945 remove unused SCD definitions 2008-05-07 15:02:20 -04:00
iwl-3945-io.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-3945-led.c iwlwifi: fix oops in iwl3945_led_brightness_set 2008-06-09 15:53:38 -04:00
iwl-3945-led.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-3945-rs.c mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
iwl-3945-rs.h iwlwifi: move rate registration to module load 2008-04-01 17:13:19 -04:00
iwl-3945.c mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-3945.h iwlwifi: remove notif_missed_beacons variable 2008-06-03 15:00:19 -04:00
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 iwlwifi: setup correctly L1 L0S pi link values 2008-06-03 15:00:20 -04:00
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 iwlwifi-5000: implement initial calibration for 5000 2008-06-03 15:00:23 -04:00
iwl-fh.h iwlwifi: move Flow Handlers define to iwl-fh.h 2008-05-07 15:02:20 -04:00
iwl-hcmd.c iwlwifi-5000: implement initial calibration for 5000 2008-06-03 15:00:23 -04:00
iwl-helpers.h mac80211: add helpers for frame control testing 2008-06-14 12:18:12 -04:00
iwl-io.h iwlwifi: improve NIC i/o debug prints information 2008-03-27 16:03:17 -04:00
iwl-led.c iwlwifi: rename iwl-4965.h to iwl-dev.h 2008-05-07 15:02:26 -04:00
iwl-led.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-power.c iwlwifi: rename iwl-4965.h to iwl-dev.h 2008-05-07 15:02:26 -04:00
iwl-power.h iwlwifi: rename iwl-4965-commands to iwl-commands.h 2008-05-07 15:02:26 -04:00
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 iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
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
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