Home
last modified time | relevance | path

Searched refs:sku_tlbv (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.c3347 struct mt7925_sku_tlv *sku_tlbv; in mt7925_mcu_rate_txpower_band() local
3350 sku_len = sizeof(*sku_tlbv); in mt7925_mcu_rate_txpower_band()
3374 sku_tlbv = devm_kmalloc(dev->dev, sku_len, GFP_KERNEL); in mt7925_mcu_rate_txpower_band()
3375 if (!sku_tlbv) { in mt7925_mcu_rate_txpower_band()
3429 sku_tlbv->channel = ch_list[idx]; in mt7925_mcu_rate_txpower_band()
3431 mt7925_mcu_build_sku(dev, sku_tlbv->pwr_limit, in mt7925_mcu_rate_txpower_band()
3433 skb_put_data(skb, sku_tlbv, sku_len); in mt7925_mcu_rate_txpower_band()
3443 devm_kfree(dev->dev, sku_tlbv); in mt7925_mcu_rate_txpower_band()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c2084 struct mt76_connac_sku_tlv sku_tlbv; in mt76_connac_mcu_rate_txpower_band() local
2092 sku_len = is_mt7921(dev) ? sizeof(sku_tlbv) : sizeof(sku_tlbv) - 92; in mt76_connac_mcu_rate_txpower_band()
2122 msg_len = sizeof(tx_power_tlv) + num_ch * sizeof(sku_tlbv); in mt76_connac_mcu_rate_txpower_band()
2162 sku_tlbv.channel = ch_list[idx]; in mt76_connac_mcu_rate_txpower_band()
2164 mt76_connac_mcu_build_sku(dev, sku_tlbv.pwr_limit, in mt76_connac_mcu_rate_txpower_band()
2166 skb_put_data(skb, &sku_tlbv, sku_len); in mt76_connac_mcu_rate_txpower_band()