Lines Matching refs:sta_idx
1420 int sta_idx = -1; in rsi_mac80211_sta_add() local
1439 sta_idx = cnt; in rsi_mac80211_sta_add()
1446 sta_idx = free_index; in rsi_mac80211_sta_add()
1448 if (sta_idx < 0) { in rsi_mac80211_sta_add()
1455 rsta = &common->stations[sta_idx]; in rsi_mac80211_sta_add()
1457 rsta->sta_id = sta_idx; in rsi_mac80211_sta_add()
1469 sta, sta_idx, 0, vif); in rsi_mac80211_sta_add()
1482 sta_idx, in rsi_mac80211_sta_add()
1534 u8 sta_idx, cnt; in rsi_mac80211_sta_remove() local
1538 for (sta_idx = 0; sta_idx < common->max_stations; sta_idx++) { in rsi_mac80211_sta_remove()
1539 rsta = &common->stations[sta_idx]; in rsi_mac80211_sta_remove()
1546 sta->aid, sta, sta_idx, in rsi_mac80211_sta_remove()
1557 if (sta_idx >= common->max_stations) in rsi_mac80211_sta_remove()