Lines Matching refs:reg_beacon
210 struct reg_beacon { struct
2145 struct reg_beacon *reg_beacon) in handle_reg_beacon() argument
2152 sband = wiphy->bands[reg_beacon->chan.band]; in handle_reg_beacon()
2155 if (likely(!ieee80211_channel_equal(chan, ®_beacon->chan))) in handle_reg_beacon()
2185 struct reg_beacon *reg_beacon) in wiphy_update_new_beacon() argument
2190 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_new_beacon()
2193 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_new_beacon()
2196 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_new_beacon()
2206 struct reg_beacon *reg_beacon; in wiphy_update_beacon_reg() local
2208 list_for_each_entry(reg_beacon, ®_beacon_list, list) { in wiphy_update_beacon_reg()
2209 if (!wiphy->bands[reg_beacon->chan.band]) in wiphy_update_beacon_reg()
2211 sband = wiphy->bands[reg_beacon->chan.band]; in wiphy_update_beacon_reg()
2213 handle_reg_beacon(wiphy, i, reg_beacon); in wiphy_update_beacon_reg()
3052 struct reg_beacon *pending_beacon, *tmp; in reg_process_pending_beacon_hints()
3395 struct reg_beacon *reg_beacon, *btmp; in restore_regulatory_settings() local
3428 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in restore_regulatory_settings()
3429 list_del(®_beacon->list); in restore_regulatory_settings()
3430 kfree(reg_beacon); in restore_regulatory_settings()
3434 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in restore_regulatory_settings()
3435 list_del(®_beacon->list); in restore_regulatory_settings()
3436 kfree(reg_beacon); in restore_regulatory_settings()
3521 struct reg_beacon *reg_beacon, *btmp; in regulatory_hint_disconnect() local
3527 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3529 list_del(®_beacon->list); in regulatory_hint_disconnect()
3530 kfree(reg_beacon); in regulatory_hint_disconnect()
3534 list_for_each_entry_safe(reg_beacon, btmp, in regulatory_hint_disconnect()
3536 list_del(®_beacon->list); in regulatory_hint_disconnect()
3537 kfree(reg_beacon); in regulatory_hint_disconnect()
3558 struct reg_beacon *pending_beacon; in pending_reg_beacon()
3571 struct reg_beacon *reg_beacon; in regulatory_hint_found_beacon() local
3587 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp); in regulatory_hint_found_beacon()
3588 if (!reg_beacon) in regulatory_hint_found_beacon()
3597 memcpy(®_beacon->chan, beacon_chan, in regulatory_hint_found_beacon()
3605 list_add_tail(®_beacon->list, ®_pending_beacons); in regulatory_hint_found_beacon()
4247 struct reg_beacon *reg_beacon, *btmp; in regulatory_exit() local
4262 list_for_each_entry_safe(reg_beacon, btmp, ®_pending_beacons, list) { in regulatory_exit()
4263 list_del(®_beacon->list); in regulatory_exit()
4264 kfree(reg_beacon); in regulatory_exit()
4267 list_for_each_entry_safe(reg_beacon, btmp, ®_beacon_list, list) { in regulatory_exit()
4268 list_del(®_beacon->list); in regulatory_exit()
4269 kfree(reg_beacon); in regulatory_exit()