Lines Matching +full:m +full:- +full:phy
1 /* SPDX-License-Identifier: ISC */
15 #define MT7915_WTBL_RESERVED (MT7915_WTBL_SIZE - 1)
16 #define MT7915_WTBL_STA (MT7915_WTBL_RESERVED - \
37 #define MT7915_CFEND_RATE_DEFAULT 0x49 /* OFDM 24M */
38 #define MT7915_CFEND_RATE_11B 0x03 /* 11B LP, 11M */
39 #define MT7915_5G_RATE_DEFAULT 0x4b /* OFDM 6M */
40 #define MT7915_2G_RATE_DEFAULT 0x0 /* CCK 1M */
105 struct mt7915_phy *phy; member
183 struct mt7915_phy phy; member
263 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy() local
265 return phy->priv; in mt7915_hw_phy()
271 struct mt76_phy *phy = hw->priv; in mt7915_hw_dev() local
273 return container_of(phy->dev, struct mt7915_dev, mt76); in mt7915_hw_dev()
279 struct mt76_phy *phy = dev->mt76.phy2; in mt7915_ext_phy() local
281 if (!phy) in mt7915_ext_phy()
284 return phy->priv; in mt7915_ext_phy()
290 return 3 - ac; in mt7915_lmac_mapping()
301 void mt7915_eeprom_parse_band_config(struct mt7915_phy *phy);
310 int mt7915_mcu_add_dev_info(struct mt7915_phy *phy,
312 int mt7915_mcu_add_bss_info(struct mt7915_phy *phy,
340 int mt7915_set_channel(struct mt7915_phy *phy);
341 int mt7915_mcu_set_chan_info(struct mt7915_phy *phy, int cmd);
354 int mt7915_mcu_set_rts_thresh(struct mt7915_phy *phy, u32 val);
356 int mt7915_mcu_set_sku_en(struct mt7915_phy *phy, bool enable);
357 int mt7915_mcu_set_txpower_sku(struct mt7915_phy *phy);
358 int mt7915_mcu_get_txpower_sku(struct mt7915_phy *phy, s8 *txpower, int len);
366 int mt7915_mcu_apply_tx_dpd(struct mt7915_phy *phy);
367 int mt7915_mcu_get_chan_mib_info(struct mt7915_phy *phy, bool chan_switch);
368 int mt7915_mcu_get_temperature(struct mt7915_phy *phy);
369 int mt7915_mcu_set_thermal_throttling(struct mt7915_phy *phy, u8 state);
371 int mt7915_mcu_get_rx_rate(struct mt7915_phy *phy, struct ieee80211_vif *vif,
390 if (dev->hif2) in mt7915_irq_enable()
393 mt76_set_irq_mask(&dev->mt76, 0, 0, mask); in mt7915_irq_enable()
395 tasklet_schedule(&dev->irq_tasklet); in mt7915_irq_enable()
400 if (dev->hif2) in mt7915_irq_disable()
403 mt76_set_irq_mask(&dev->mt76, MT_INT_MASK_CSR, mask, 0); in mt7915_irq_disable()
407 void mt7915_mac_reset_counters(struct mt7915_phy *phy);
408 void mt7915_mac_cca_stats_reset(struct mt7915_phy *phy);
413 void mt7915_mac_set_timing(struct mt7915_phy *phy);
428 int mt7915_init_tx_queues(struct mt7915_phy *phy, int idx, int n_desc);
434 int mt7915_dfs_init_radar_detector(struct mt7915_phy *phy);
435 void mt7915_set_stream_he_caps(struct mt7915_phy *phy);
436 void mt7915_set_stream_vht_txbf_caps(struct mt7915_phy *phy);