• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/mac80211/

Lines Matching refs:sta

18 /* sta attributtes */
26 struct sta_info *sta = file->private_data; \
28 res = scnprintf(buf, buflen, format_string, sta->field); \
41 struct sta_info *sta = file->private_data; \
42 struct ieee80211_local *local = wdev_priv(sta->dev->ieee80211_ptr);\
46 (sta->field >= 0 && \
47 sta->field < mode->num_rates) ? \
48 mode->rates[sta->field].rate : -1); \
89 struct sta_info *sta = file->private_data;
91 sta->flags & WLAN_STA_AUTH ? "AUTH\n" : "",
92 sta->flags & WLAN_STA_ASSOC ? "ASSOC\n" : "",
93 sta->flags & WLAN_STA_PS ? "PS\n" : "",
94 sta->flags & WLAN_STA_TIM ? "TIM\n" : "",
95 sta->flags & WLAN_STA_PERM ? "PERM\n" : "",
96 sta->flags & WLAN_STA_AUTHORIZED ? "AUTHORIZED\n" : "",
97 sta->flags & WLAN_STA_SHORT_PREAMBLE ? "SHORT PREAMBLE\n" : "",
98 sta->flags & WLAN_STA_WME ? "WME\n" : "",
99 sta->flags & WLAN_STA_WDS ? "WDS\n" : "");
109 struct sta_info *sta = file->private_data;
111 skb_queue_len(&sta->ps_tx_buf));
120 struct sta_info *sta = file->private_data;
122 sta->last_ack_rssi[0],
123 sta->last_ack_rssi[1],
124 sta->last_ack_rssi[2]);
133 struct sta_info *sta = file->private_data;
135 sta->last_ack ?
136 jiffies_to_msecs(jiffies - sta->last_ack) : -1);
145 struct sta_info *sta = file->private_data;
147 jiffies_to_msecs(jiffies - sta->last_rx));
157 struct sta_info *sta = file->private_data;
160 sta->last_seq_ctrl[i]);
172 struct sta_info *sta = file->private_data;
175 sta->wme_rx_queue[i]);
186 struct sta_info *sta = file->private_data;
189 sta->wme_tx_queue[i]);
197 sta->debugfs.name = debugfs_create_file(#name, 0444, \
198 sta->debugfs.dir, sta, &sta_ ##name## _ops);
201 debugfs_remove(sta->debugfs.name);\
202 sta->debugfs.name = NULL;
205 void ieee80211_sta_debugfs_add(struct sta_info *sta)
208 struct dentry *stations_dir = sta->local->debugfs.stations;
213 sprintf(buf, MAC_FMT, MAC_ARG(sta->addr));
215 sta->debugfs.dir = debugfs_create_dir(buf, stations_dir);
216 if (!sta->debugfs.dir)
231 void ieee80211_sta_debugfs_remove(struct sta_info *sta)
244 debugfs_remove(sta->debugfs.dir);
245 sta->debugfs.dir = NULL;