/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | stf.c | 31 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ argument 32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6)) 75 if (wlc->stf->txchain == wlc->stf->hw_txchain) { in brcms_c_tempsense_upd() 79 } else if (wlc->stf->txchain < wlc->stf->hw_txchain) { in brcms_c_tempsense_upd() 182 brcms_b_txant_set(wlc->hw, wlc->stf->phytxant); in brcms_c_stf_txcore_set() 185 brcms_c_beacon_phytxctl_txant_upd(wlc, wlc->bcn_rspec); in brcms_c_stf_txcore_set() 261 brcms_b_txant_set(wlc->hw, wlc->stf->phytxant); in _brcms_c_stf_phy_txant_upd() 287 brcms_c_stf_stbc_tx_set(wlc, wlc->band->band_stf_stbc_tx); in brcms_c_stf_txchain_set() 294 wlc_phy_stf_chain_set(wlc->band->pi, wlc->stf->txchain, in brcms_c_stf_txchain_set() 386 wlc->stf->txchain = wlc->stf->hw_txchain; in brcms_c_stf_phy_chain_calc() [all …]
|
A D | main.c | 498 wlc->pub->wlc = wlc; in brcms_c_attach_malloc() 507 wlc->hw->wlc = wlc; in brcms_c_attach_malloc() 1206 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_info_init() local 2389 wlc->macintmask = wlc->defmacintmask; in brcms_c_intrson() 3532 wlc->band = wlc->bandstate[j]; in brcms_c_bandinit_ordered() 4407 wlc_hw->wlc = wlc; in brcms_b_attach() 5417 brcms_b_retrylimit_upd(wlc->hw, wlc->SRL, wlc->LRL); in brcms_c_set_rate_limit() 7920 wlc->band = wlc->bandstate[0]; in brcms_c_attach() 7921 wlc->core = wlc->corestate; in brcms_c_attach() 7968 wlc->band = wlc->bandstate[j]; in brcms_c_attach() [all …]
|
A D | pub.h | 145 struct brcms_c_info *wlc; member 272 uint brcms_c_detach(struct brcms_c_info *wlc); 273 int brcms_c_up(struct brcms_c_info *wlc); 274 uint brcms_c_down(struct brcms_c_info *wlc); 278 void brcms_c_reset(struct brcms_c_info *wlc); 280 void brcms_c_intrson(struct brcms_c_info *wlc); 281 u32 brcms_c_intrsoff(struct brcms_c_info *wlc); 283 bool brcms_c_intrsupd(struct brcms_c_info *wlc); 284 bool brcms_c_isr(struct brcms_c_info *wlc); 310 void brcms_c_scan_stop(struct brcms_c_info *wlc); [all …]
|
A D | channel.c | 312 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_set_country() local 318 brcms_c_stf_ss_update(wlc, wlc->bandstate[BAND_2G_INDEX]); in brcms_c_set_country() 319 brcms_c_stf_ss_update(wlc, wlc->bandstate[BAND_5G_INDEX]); in brcms_c_set_country() 321 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_set_country() 338 wlc_cm->wlc = wlc; in brcms_c_channel_mgr_attach() 339 wlc->cmi = wlc_cm; in brcms_c_channel_mgr_attach() 376 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_channel_set_chanspec() local 390 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_channel_set_chanspec() 401 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_channel_reg_limits() local 604 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_valid_chanspec_ext() local [all …]
|
A D | ampdu.c | 183 struct brcms_c_info *wlc = ampdu->wlc; in brcms_c_ampdu_set() local 191 wlc->pub->unit); in brcms_c_ampdu_set() 196 wlc->pub->unit); in brcms_c_ampdu_set() 232 ampdu->wlc = wlc; in brcms_c_ampdu_attach() 255 if (BRCMS_ISNPHY(wlc->band) && NREV_LT(wlc->band->phyrev, 2)) in brcms_c_ampdu_attach() 504 session->wlc = wlc; in brcms_c_ampdu_reset_session() 520 struct brcms_c_info *wlc = session->wlc; in brcms_c_ampdu_add_frame() local 628 struct brcms_c_info *wlc = session->wlc; in brcms_c_ampdu_finalize() local 839 struct brcms_c_info *wlc = ampdu->wlc; in brcms_c_ampdu_dotxstatus_complete() local 1027 struct brcms_c_info *wlc = ampdu->wlc; in brcms_c_ampdu_dotxstatus() local [all …]
|
A D | stf.h | 22 int brcms_c_stf_attach(struct brcms_c_info *wlc); 23 void brcms_c_stf_detach(struct brcms_c_info *wlc); 25 void brcms_c_tempsense_upd(struct brcms_c_info *wlc); 26 void brcms_c_stf_ss_algo_channel_get(struct brcms_c_info *wlc, 28 void brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band); 29 void brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc); 30 int brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force); 31 bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val); 32 void brcms_c_stf_phy_chain_calc(struct brcms_c_info *wlc); 33 u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec); [all …]
|
A D | mac80211_if.c | 304 if (wl->wlc) { in brcms_free() 305 brcms_c_detach(wl->wlc); in brcms_free() 306 wl->wlc = NULL; in brcms_free() 335 if (wl->wlc) { in brcms_remove() 467 if (wl->wlc == NULL) in brcms_ops_stop() 503 wl->wlc->vif = vif; in brcms_ops_add_interface() 524 wl->wlc->vif = NULL; in brcms_ops_remove_interface() 952 if (wl->wlc->vif) in brcms_ops_beacon_set_tim() 1049 struct brcms_c_info *wlc = wl->wlc; in ieee_hw_rate_init() local 1159 if (!wl->wlc) { in brcms_attach() [all …]
|
A D | main.h | 141 #define CHANNEL_BANDUNIT(wlc, ch) \ argument 144 #define OTHERBANDUNIT(wlc) \ argument 216 #define BRCMS_STF_SS_STBC_TX(wlc, scb) \ argument 217 (((wlc)->stf->txstreams > 1) && (((wlc)->band->band_stf_stbc_tx == ON) \ 222 #define BRCMS_STBC_CAP_PHY(wlc) (BRCMS_ISNPHY(wlc->band) && \ argument 223 NREV_GE(wlc->band->phyrev, 3)) 225 #define BRCMS_SGI_CAP_PHY(wlc) ((BRCMS_ISNPHY(wlc->band) && \ argument 226 NREV_GE(wlc->band->phyrev, 3)) || \ 227 BRCMS_ISLCNPHY(wlc->band)) 314 struct brcms_c_info *wlc; member [all …]
|
A D | antsel.c | 109 struct antsel_info *brcms_c_antsel_attach(struct brcms_c_info *wlc) in brcms_c_antsel_attach() argument 112 struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; in brcms_c_antsel_attach() 118 asi->wlc = wlc; in brcms_c_antsel_attach() 119 asi->pub = wlc->pub; in brcms_c_antsel_attach() 141 brcms_err(wlc->hw->d11core, in brcms_c_antsel_attach() 162 brcms_b_antsel_type_set(wlc->hw, asi->antsel_type); in brcms_c_antsel_attach() 203 struct brcms_c_info *wlc = asi->wlc; in brcms_c_antsel_cfgupd() local 212 brcms_b_write_shm(wlc->hw, M_MIMO_ANTSEL_TXDFLT, mimo_antsel); in brcms_c_antsel_cfgupd() 224 brcms_b_write_shm(wlc->hw, M_MIMO_ANTSEL_RXDFLT, mimo_antsel); in brcms_c_antsel_cfgupd()
|
A D | ampdu.h | 32 struct brcms_c_info *wlc; member 41 struct brcms_c_info *wlc); 46 struct ampdu_info *brcms_c_ampdu_attach(struct brcms_c_info *wlc); 50 void brcms_c_ampdu_macaddr_upd(struct brcms_c_info *wlc);
|
A D | phy_shim.c | 34 struct brcms_c_info *wlc; /* pointer to main wlc structure */ member 40 struct brcms_c_info *wlc) { in wlc_phy_shim_attach() argument 48 physhim->wlc = wlc; in wlc_phy_shim_attach() 123 brcms_c_suspend_mac_and_wait(physhim->wlc); in wlapi_suspend_mac_and_wait() 133 brcms_c_enable_mac(physhim->wlc); in wlapi_enable_mac()
|
A D | debug.c | 51 dev_name(&drvr->wlc->hw->d11core->dev), root_folder); in brcms_debugfs_attach() 68 struct brcms_hardware *hw = drvr->wlc->hw; in brcms_debugfs_hardware_read() 91 drvr->wlc->hw->boardflags, drvr->wlc->hw->boardflags2, in brcms_debugfs_hardware_read() 92 drvr->wlc->ucode_rev, hw->band->radiorev, in brcms_debugfs_hardware_read() 106 stats = *(drvr->wlc->core->macstat_snapshot); in brcms_debugfs_macstat_read() 193 struct device *dev = &drvr->wlc->hw->d11core->dev; in brcms_debugfs_add_entry()
|
A D | channel.h | 35 struct brcms_cm_info *brcms_c_channel_mgr_attach(struct brcms_c_info *wlc); 45 void brcms_c_regd_init(struct brcms_c_info *wlc);
|
A D | dma.h | 77 extern struct dma_pub *dma_attach(char *name, struct brcms_c_info *wlc, 89 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub,
|
A D | led.c | 56 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register() 58 struct ssb_sprom *sprom = &wl->wlc->hw->d11core->bus->sprom; in brcms_led_register()
|
A D | antsel.h | 20 struct antsel_info *brcms_c_antsel_attach(struct brcms_c_info *wlc);
|
A D | mac80211_if.h | 65 struct brcms_c_info *wlc; /* pointer to private common data */ member
|
A D | dma.c | 548 struct dma_pub *dma_attach(char *name, struct brcms_c_info *wlc, in dma_attach() argument 553 struct si_pub *sih = wlc->hw->sih; in dma_attach() 554 struct bcma_device *core = wlc->hw->d11core; in dma_attach() 699 brcms_c_ampdu_reset_session(&di->ampdu_session, wlc); in dma_attach() 1322 trace_brcms_ampdu_session(&session->wlc->hw->d11core->dev, in ampdu_finalize() 1341 brcms_c_ampdu_reset_session(session, session->wlc); in ampdu_finalize() 1379 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub, in dma_txfast() argument
|
A D | phy_shim.h | 129 struct brcms_c_info *wlc);
|