Lines Matching refs:reg_beacon
210 struct reg_beacon { struct
1927 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
1934 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
1937 if (likely(chan->center_freq != reg_beacon->chan.center_freq)) in handle_reg_beacon()
1967 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
1972 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
1975 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
1978 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
1988 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
1990 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
1991 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
1993 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
1995 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
2825 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3165 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3198 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
3199 list_del(®_beacon->list); in restore_regulatory_settings()
3200 kfree(reg_beacon); in restore_regulatory_settings()
3204 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
3205 list_del(®_beacon->list); in restore_regulatory_settings()
3206 kfree(reg_beacon); in restore_regulatory_settings()
3291 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3297 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3299 list_del(®_beacon->list); in regulatory_hint_disconnect()
3300 kfree(reg_beacon); in regulatory_hint_disconnect()
3304 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3306 list_del(®_beacon->list); in regulatory_hint_disconnect()
3307 kfree(reg_beacon); in regulatory_hint_disconnect()
3328 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3341 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3357 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3358 if (!reg_beacon) in regulatory_hint_found_beacon()
3366 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3374 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
3994 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4009 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
4010 list_del(®_beacon->list); in regulatory_exit()
4011 kfree(reg_beacon); in regulatory_exit()
4014 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
4015 list_del(®_beacon->list); in regulatory_exit()
4016 kfree(reg_beacon); in regulatory_exit()