Lines Matching refs:reg_beacon
210 struct reg_beacon { struct
2135 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2142 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2145 if (likely(!ieee80211_channel_equal(chan, ®_beacon->chan))) in handle_reg_beacon()
2175 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2180 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2183 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2186 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2196 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2198 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
2199 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2201 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2203 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3042 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3385 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3418 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
3419 list_del(®_beacon->list); in restore_regulatory_settings()
3420 kfree(reg_beacon); in restore_regulatory_settings()
3424 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
3425 list_del(®_beacon->list); in restore_regulatory_settings()
3426 kfree(reg_beacon); in restore_regulatory_settings()
3511 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3517 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3519 list_del(®_beacon->list); in regulatory_hint_disconnect()
3520 kfree(reg_beacon); in regulatory_hint_disconnect()
3524 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3526 list_del(®_beacon->list); in regulatory_hint_disconnect()
3527 kfree(reg_beacon); in regulatory_hint_disconnect()
3548 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3561 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3577 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3578 if (!reg_beacon) in regulatory_hint_found_beacon()
3587 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3595 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
4236 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4251 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
4252 list_del(®_beacon->list); in regulatory_exit()
4253 kfree(reg_beacon); in regulatory_exit()
4256 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
4257 list_del(®_beacon->list); in regulatory_exit()
4258 kfree(reg_beacon); in regulatory_exit()