• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/mac80211/

Lines Matching refs:sdata

22 static void ieee80211_offchannel_ps_enable(struct ieee80211_sub_if_data *sdata)
24 struct ieee80211_local *local = sdata->local;
25 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
54 ieee80211_send_nullfunc(local, sdata, 1);
58 static void ieee80211_offchannel_ps_disable(struct ieee80211_sub_if_data *sdata)
60 struct ieee80211_local *local = sdata->local;
63 ieee80211_send_nullfunc(local, sdata, 0);
87 ieee80211_send_nullfunc(local, sdata, 0);
92 ieee80211_sta_reset_beacon_monitor(sdata);
93 ieee80211_sta_reset_conn_monitor(sdata);
98 struct ieee80211_sub_if_data *sdata;
101 list_for_each_entry(sdata, &local->interfaces, list) {
102 if (!ieee80211_sdata_running(sdata))
106 if (sdata->vif.type == NL80211_IFTYPE_AP ||
107 sdata->vif.type == NL80211_IFTYPE_ADHOC ||
108 sdata->vif.type == NL80211_IFTYPE_MESH_POINT)
110 sdata, BSS_CHANGED_BEACON_ENABLED);
120 if (sdata->vif.type != NL80211_IFTYPE_STATION &&
121 sdata->vif.type != NL80211_IFTYPE_MONITOR)
122 netif_tx_stop_all_queues(sdata->dev);
129 struct ieee80211_sub_if_data *sdata;
135 list_for_each_entry(sdata, &local->interfaces, list) {
136 if (!ieee80211_sdata_running(sdata))
139 if (sdata->vif.type == NL80211_IFTYPE_STATION) {
140 netif_tx_stop_all_queues(sdata->dev);
141 if (sdata->u.mgd.associated)
142 ieee80211_offchannel_ps_enable(sdata);
151 struct ieee80211_sub_if_data *sdata;
154 list_for_each_entry(sdata, &local->interfaces, list) {
155 if (!ieee80211_sdata_running(sdata))
159 if (sdata->vif.type == NL80211_IFTYPE_STATION) {
160 if (sdata->u.mgd.associated)
161 ieee80211_offchannel_ps_disable(sdata);
164 if (sdata->vif.type != NL80211_IFTYPE_MONITOR)
165 netif_tx_wake_all_queues(sdata->dev);
169 (sdata->vif.type == NL80211_IFTYPE_AP ||
170 sdata->vif.type == NL80211_IFTYPE_ADHOC ||
171 sdata->vif.type == NL80211_IFTYPE_MESH_POINT))
173 sdata, BSS_CHANGED_BEACON_ENABLED);