Lines Matching refs:reg_beacon
229 struct reg_beacon { struct
2154 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2161 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2164 if (likely(!ieee80211_channel_equal(chan, ®_beacon->chan))) in handle_reg_beacon()
2194 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2199 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2202 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2205 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2215 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2217 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
2218 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2220 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2222 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3078 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3432 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3465 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
3466 list_del(®_beacon->list); in restore_regulatory_settings()
3467 kfree(reg_beacon); in restore_regulatory_settings()
3471 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
3472 list_del(®_beacon->list); in restore_regulatory_settings()
3473 kfree(reg_beacon); in restore_regulatory_settings()
3558 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3564 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3566 list_del(®_beacon->list); in regulatory_hint_disconnect()
3567 kfree(reg_beacon); in regulatory_hint_disconnect()
3571 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3573 list_del(®_beacon->list); in regulatory_hint_disconnect()
3574 kfree(reg_beacon); in regulatory_hint_disconnect()
3595 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3608 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3624 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3625 if (!reg_beacon) in regulatory_hint_found_beacon()
3634 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3642 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
4290 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4305 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
4306 list_del(®_beacon->list); in regulatory_exit()
4307 kfree(reg_beacon); in regulatory_exit()
4310 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
4311 list_del(®_beacon->list); in regulatory_exit()
4312 kfree(reg_beacon); in regulatory_exit()