Lines Matching refs:stations

1742 	if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE))  in il_sta_ucode_activate()
1744 sta_id, il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1746 if (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) { in il_sta_ucode_activate()
1749 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1751 il->stations[sta_id].used |= IL_STA_UCODE_ACTIVE; in il_sta_ucode_activate()
1753 il->stations[sta_id].sta.sta.addr); in il_sta_ucode_activate()
1797 il->stations[sta_id].sta.mode == in il_process_add_sta_resp()
1799 il->stations[sta_id].sta.sta.addr); in il_process_add_sta_resp()
1810 il->stations[sta_id].sta.mode == in il_process_add_sta_resp()
1880 sta_flags = il->stations[idx].sta.station_flags; in il_set_ht_add_station()
1911 il->stations[idx].sta.station_flags = sta_flags; in il_set_ht_add_station()
1936 if (ether_addr_equal(il->stations[i].sta.sta.addr, in il_prep_station()
1942 if (!il->stations[i].used && in il_prep_station()
1959 if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) { in il_prep_station()
1964 if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) && in il_prep_station()
1965 (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE) && in il_prep_station()
1966 ether_addr_equal(il->stations[sta_id].sta.sta.addr, addr)) { in il_prep_station()
1972 station = &il->stations[sta_id]; in il_prep_station()
2029 if (il->stations[sta_id].used & IL_STA_UCODE_INPROGRESS) { in il_add_station_common()
2035 if ((il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE) && in il_add_station_common()
2036 (il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) { in il_add_station_common()
2043 il->stations[sta_id].used |= IL_STA_UCODE_INPROGRESS; in il_add_station_common()
2044 memcpy(&sta_cmd, &il->stations[sta_id].sta, in il_add_station_common()
2053 il->stations[sta_id].sta.sta.addr); in il_add_station_common()
2054 il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE; in il_add_station_common()
2055 il->stations[sta_id].used &= ~IL_STA_UCODE_INPROGRESS; in il_add_station_common()
2072 if ((il->stations[sta_id]. in il_sta_ucode_deactivate()
2077 il->stations[sta_id].used &= ~IL_STA_UCODE_ACTIVE; in il_sta_ucode_deactivate()
2079 memset(&il->stations[sta_id], 0, sizeof(struct il_station_entry)); in il_sta_ucode_deactivate()
2165 if (!(il->stations[sta_id].used & IL_STA_DRIVER_ACTIVE)) { in il_remove_station()
2170 if (!(il->stations[sta_id].used & IL_STA_UCODE_ACTIVE)) { in il_remove_station()
2175 if (il->stations[sta_id].used & IL_STA_LOCAL) { in il_remove_station()
2176 kfree(il->stations[sta_id].lq); in il_remove_station()
2177 il->stations[sta_id].lq = NULL; in il_remove_station()
2180 il->stations[sta_id].used &= ~IL_STA_DRIVER_ACTIVE; in il_remove_station()
2214 if (il->stations[i].used & IL_STA_UCODE_ACTIVE) { in il_clear_ucode_stations()
2216 il->stations[i].used &= ~IL_STA_UCODE_ACTIVE; in il_clear_ucode_stations()
2254 if ((il->stations[i].used & IL_STA_DRIVER_ACTIVE) && in il_restore_stations()
2255 !(il->stations[i].used & IL_STA_UCODE_ACTIVE)) { in il_restore_stations()
2257 il->stations[i].sta.sta.addr); in il_restore_stations()
2258 il->stations[i].sta.mode = 0; in il_restore_stations()
2259 il->stations[i].used |= IL_STA_UCODE_INPROGRESS; in il_restore_stations()
2265 if ((il->stations[i].used & IL_STA_UCODE_INPROGRESS)) { in il_restore_stations()
2266 memcpy(&sta_cmd, &il->stations[i].sta, in il_restore_stations()
2269 if (il->stations[i].lq) { in il_restore_stations()
2270 memcpy(&lq, il->stations[i].lq, in il_restore_stations()
2279 il->stations[i].sta.sta.addr); in il_restore_stations()
2280 il->stations[i].used &= ~IL_STA_DRIVER_ACTIVE; in il_restore_stations()
2281 il->stations[i].used &= in il_restore_stations()
2293 il->stations[i].used &= ~IL_STA_UCODE_INPROGRESS; in il_restore_stations()
2327 if (!(il->stations[i].used & IL_STA_BCAST)) in il_dealloc_bcast_stations()
2330 il->stations[i].used &= ~IL_STA_UCODE_ACTIVE; in il_dealloc_bcast_stations()
2333 kfree(il->stations[i].lq); in il_dealloc_bcast_stations()
2334 il->stations[i].lq = NULL; in il_dealloc_bcast_stations()
2416 if (!(il->stations[lq->sta_id].used & IL_STA_DRIVER_ACTIVE)) { in il_send_lq_cmd()
2438 il->stations[lq->sta_id].used &= ~IL_STA_UCODE_INPROGRESS; in il_send_lq_cmd()