linux-stable/net/mac80211
Marco Porsch d012a60510 mac80211: make client powersave independent of interface type
This patch prepares mac80211 for a later implementation of mesh or
ad-hoc powersave clients.
The structures related to powersave (buffer, TIM map, counters) are
moved from the AP-specific interface structure to a generic structure
that can be embedded into any interface type.
The functions related to powersave are prepared to allow easy
extension with different interface types. For example with:

+ } else if (sta->sdata->vif.type == NL80211_IFTYPE_MESH_POINT) {
+         ps = &sdata->u.mesh.ps;

Some references to the AP's beacon structure are removed where they
were obviously not used.

The patch compiles without warning and has been briefly tested as AP
interface with one client in PS mode.

Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-10-19 15:43:51 +02:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c mac80211: simplify buffers in aes_128_cmac_vector 2012-08-20 14:03:18 +02:00
aes_cmac.h
agg-rx.c mac80211: clean up debugging 2012-06-24 11:32:29 +02:00
agg-tx.c mac80211: don't send delBA on addBA failure 2012-09-21 16:14:14 +02:00
cfg.c nl/cfg80211: force scan using an AP vif if requested 2012-10-18 17:21:22 +02:00
cfg.h
chan.c mac80211: add channel context iterator 2012-10-17 11:02:10 +02:00
debug.h mac80211: trace debug messages 2012-06-24 11:33:18 +02:00
debugfs.c mac80211: make reset debugfs depend on CONFIG_PM 2012-09-19 08:20:24 +02:00
debugfs.h mac80211: use __printf attribute in debugfs 2012-10-18 09:01:57 +02:00
debugfs_key.c mac80211: fix debugfs default key links 2012-07-06 08:33:04 +02:00
debugfs_key.h
debugfs_netdev.c mac80211: make client powersave independent of interface type 2012-10-19 15:43:51 +02:00
debugfs_netdev.h
debugfs_sta.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-04-12 13:49:28 -04:00
debugfs_sta.h
driver-ops.h mac80211: introduce new ieee80211_ops 2012-10-16 20:22:42 +02:00
event.c
ht.c mac80211: clean up debugging 2012-06-24 11:32:29 +02:00
ibss.c mac80211: Notify new IBSS network creation 2012-10-18 09:01:53 +02:00
ieee80211_i.h mac80211: make client powersave independent of interface type 2012-10-19 15:43:51 +02:00
iface.c mac80211: make client powersave independent of interface type 2012-10-19 15:43:51 +02:00
Kconfig mac80211: fix copy-paste typo in Kconfig 2012-10-18 09:10:28 +02:00
key.c mac80211: use synchronize_net() on key destroying 2012-09-06 17:29:23 +02:00
key.h
led.c leds: Rename led_brightness_set() to led_set_brightness() 2012-07-24 07:52:34 +08:00
led.h
main.c nl/cfg80211: force scan using an AP vif if requested 2012-10-18 17:21:22 +02:00
Makefile mac80211: VHT peer STA caps 2012-10-17 11:02:14 +02:00
mesh.c mac80211: move out the non-statistics variable estab_plinks from mesh_stat 2012-10-17 11:02:13 +02:00
mesh.h mac80211: remove unimplemented mesh vendor sync 2012-10-18 09:01:56 +02:00
mesh_hwmp.c mac80211: clean up mpath_move_to_queue() 2012-08-20 13:25:05 +02:00
mesh_pathtbl.c mac80211: clean up mpath_move_to_queue() 2012-08-20 13:25:05 +02:00
mesh_plink.c mac80211: move out the non-statistics variable estab_plinks from mesh_stat 2012-10-17 11:02:13 +02:00
mesh_sync.c mac80211: remove unimplemented mesh vendor sync 2012-10-18 09:01:56 +02:00
michael.c
michael.h
mlme.c mac80211: remove some unused code 2012-10-18 09:01:56 +02:00
offchannel.c mac80211: use channel contexts 2012-10-17 11:02:09 +02:00
pm.c mac80211: use channel contexts 2012-10-17 11:02:09 +02:00
rate.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
rate.h mac80211: use channel contexts 2012-10-17 11:02:09 +02:00
rc80211_minstrel.c mac80211: remove hw.conf.channel usage where possible 2012-04-13 14:32:50 -04:00
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2012-07-12 15:21:05 -04:00
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rc80211_pid.h
rc80211_pid_algo.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
rc80211_pid_debugfs.c
rx.c mac80211: make client powersave independent of interface type 2012-10-19 15:43:51 +02:00
scan.c mac80211: add support for tx to abort low priority scan requests 2012-10-18 09:01:53 +02:00
spectmgmt.c
sta_info.c mac80211: make client powersave independent of interface type 2012-10-19 15:43:51 +02:00
sta_info.h mac80211: use call_rcu() on sta deletion 2012-09-10 12:44:17 +02:00
status.c mac80211: track needed RX chains for channel contexts 2012-10-17 11:02:09 +02:00
tkip.c mac80211: remove TKIP debug 2012-06-22 11:26:58 +02:00
tkip.h
trace.c mac80211: trace debug messages 2012-06-24 11:33:18 +02:00
trace.h mac80211: track needed RX chains for channel contexts 2012-10-17 11:02:09 +02:00
tx.c mac80211: make client powersave independent of interface type 2012-10-19 15:43:51 +02:00
util.c mac80211: VHT peer STA caps 2012-10-17 11:02:14 +02:00
vht.c mac80211: VHT peer STA caps 2012-10-17 11:02:14 +02:00
wep.c mac80211: fix network header location when adding encryption headers 2012-05-16 12:47:43 -04:00
wep.h mac80211: move RX WEP weak IV counting 2012-03-13 14:54:16 -04:00
wme.c mac80211: save wmm_acm per sdata 2012-06-20 17:35:22 +02:00
wme.h mac80211: save wmm_acm per sdata 2012-06-20 17:35:22 +02:00
wpa.c mac80211: fix network header location when adding encryption headers 2012-05-16 12:47:43 -04:00
wpa.h mac80211: fix tx->skb NULL pointer dereference 2012-01-16 15:01:16 -05:00