Lines Matching refs:pub
33 #include "pub.h"
298 if (wl->pub) {
299 brcms_debugfs_detach(wl->pub);
300 brcms_c_module_unregister(wl->pub, "linux", wl);
307 wl->pub = NULL;
337 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false);
338 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy);
409 if (!wl->pub->up) {
437 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy);
443 if (!wl->pub->up)
812 wl->pub->global_ampdu = &(scb->scb_ampdu);
813 wl->pub->global_ampdu->max_pdu = 16;
891 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked);
996 if (wl->pub->up) {
1009 if (!wl->pub->up)
1073 if (wl->pub->_nbands > 1) {
1164 wl->pub = brcms_c_pub(wl->wlc);
1166 wl->pub->ieee_hw = hw;
1177 brcms_c_module_register(wl->pub, "linux", wl, NULL);
1187 memcpy(perm, &wl->pub->cur_etheraddr, ETH_ALEN);
1197 if (wl->pub->srom_ccode[0] &&
1198 regulatory_hint(wl->wiphy, wl->pub->srom_ccode))
1201 brcms_debugfs_attach(wl->pub);
1202 brcms_debugfs_create_files(wl->pub);
1277 wl->pub->hw_up = false;
1358 wl->pub->unit);
1368 brcms_dbg_info(wl->wlc->hw->d11core, "Resetting wl%d\n", wl->pub->unit);
1375 wl->pub->up = false;
1383 wl->wlc->pub->unit);
1385 ieee80211_restart_hw(wl->pub->ieee_hw);
1428 if (wl->pub->up)
1472 ieee80211_queue_delayed_work(t->wl->pub->ieee_hw,
1525 struct ieee80211_hw *hw = t->wl->pub->ieee_hw;
1732 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked);
1734 wiphy_rfkill_start_polling(wl->pub->ieee_hw->wiphy);