Lines Matching refs:reg_beacon
230 struct reg_beacon { struct
2191 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2198 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2201 if (likely(!ieee80211_channel_equal(chan, ®_beacon->chan))) in handle_reg_beacon()
2231 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2236 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2239 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2242 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2252 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2254 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
2255 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2257 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2259 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3146 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3500 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3533 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
3534 list_del(®_beacon->list); in restore_regulatory_settings()
3535 kfree(reg_beacon); in restore_regulatory_settings()
3539 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
3540 list_del(®_beacon->list); in restore_regulatory_settings()
3541 kfree(reg_beacon); in restore_regulatory_settings()
3626 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3632 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3634 list_del(®_beacon->list); in regulatory_hint_disconnect()
3635 kfree(reg_beacon); in regulatory_hint_disconnect()
3639 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3641 list_del(®_beacon->list); in regulatory_hint_disconnect()
3642 kfree(reg_beacon); in regulatory_hint_disconnect()
3663 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3676 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3692 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3693 if (!reg_beacon) in regulatory_hint_found_beacon()
3702 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3710 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
4369 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4384 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
4385 list_del(®_beacon->list); in regulatory_exit()
4386 kfree(reg_beacon); in regulatory_exit()
4389 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
4390 list_del(®_beacon->list); in regulatory_exit()
4391 kfree(reg_beacon); in regulatory_exit()