Lines Matching refs:reg_beacon
230 struct reg_beacon { struct
2155 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2162 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2165 if (likely(!ieee80211_channel_equal(chan, ®_beacon->chan))) in handle_reg_beacon()
2195 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2200 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2203 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2206 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2216 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2218 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
2219 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2221 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2223 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3115 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3472 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3505 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
3506 list_del(®_beacon->list); in restore_regulatory_settings()
3507 kfree(reg_beacon); in restore_regulatory_settings()
3511 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
3512 list_del(®_beacon->list); in restore_regulatory_settings()
3513 kfree(reg_beacon); in restore_regulatory_settings()
3598 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3604 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3606 list_del(®_beacon->list); in regulatory_hint_disconnect()
3607 kfree(reg_beacon); in regulatory_hint_disconnect()
3611 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3613 list_del(®_beacon->list); in regulatory_hint_disconnect()
3614 kfree(reg_beacon); in regulatory_hint_disconnect()
3635 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3648 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3664 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3665 if (!reg_beacon) in regulatory_hint_found_beacon()
3674 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3682 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
4341 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4356 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
4357 list_del(®_beacon->list); in regulatory_exit()
4358 kfree(reg_beacon); in regulatory_exit()
4361 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
4362 list_del(®_beacon->list); in regulatory_exit()
4363 kfree(reg_beacon); in regulatory_exit()