summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2.h
diff options
context:
space:
mode:
authorLorenzo Bianconi2018-02-24 16:54:14 +0100
committerKalle Valo2018-03-13 17:32:01 +0100
commit5ebdc3e0692fdea0c61b41a4e05f3b6790b24e8e (patch)
treebcfa5d7cb291b5cb6a650afe1bb9530d99e0e21f /drivers/net/wireless/mediatek/mt76/mt76x2.h
parentmt76: add mt76_init_stream_cap routine (diff)
downloadkernel-qcow2-linux-5ebdc3e0692fdea0c61b41a4e05f3b6790b24e8e.tar.gz
kernel-qcow2-linux-5ebdc3e0692fdea0c61b41a4e05f3b6790b24e8e.tar.xz
kernel-qcow2-linux-5ebdc3e0692fdea0c61b41a4e05f3b6790b24e8e.zip
mt76x2: add mac80211 {set,get}_antenna callbacks
Add capability to select tx/rx antennas. Possible values are: - 1: to use only the first antenna - 2: to use only the second antenna - 3: to use both of them Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2.h b/drivers/net/wireless/mediatek/mt76/mt76x2.h
index e62131b88102..783b8122ec3c 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2.h
@@ -180,6 +180,7 @@ int mt76x2_eeprom_init(struct mt76x2_dev *dev);
int mt76x2_apply_calibration_data(struct mt76x2_dev *dev, int channel);
void mt76x2_set_tx_ackto(struct mt76x2_dev *dev);
+void mt76x2_phy_set_antenna(struct mt76x2_dev *dev);
int mt76x2_phy_start(struct mt76x2_dev *dev);
int mt76x2_phy_set_channel(struct mt76x2_dev *dev,
struct cfg80211_chan_def *chandef);