Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7dee444 authored by Ivo van Doorn's avatar Ivo van Doorn Committed by John W. Linville
Browse files

rt2x00: Implement get_ringparam callback function



With the get_ringparam callback function we can export ring parameters
to ethtool through the mac80211 interface.

Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8d0a2dcf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1720,6 +1720,7 @@ static const struct ieee80211_ops rt2400pci_mac80211_ops = {
	.tx_last_beacon		= rt2400pci_tx_last_beacon,
	.rfkill_poll		= rt2x00mac_rfkill_poll,
	.flush			= rt2x00mac_flush,
	.get_ringparam		= rt2x00mac_get_ringparam,
};

static const struct rt2x00lib_ops rt2400pci_rt2x00_ops = {
+1 −0
Original line number Diff line number Diff line
@@ -2013,6 +2013,7 @@ static const struct ieee80211_ops rt2500pci_mac80211_ops = {
	.tx_last_beacon		= rt2500pci_tx_last_beacon,
	.rfkill_poll		= rt2x00mac_rfkill_poll,
	.flush			= rt2x00mac_flush,
	.get_ringparam		= rt2x00mac_get_ringparam,
};

static const struct rt2x00lib_ops rt2500pci_rt2x00_ops = {
+1 −0
Original line number Diff line number Diff line
@@ -1823,6 +1823,7 @@ static const struct ieee80211_ops rt2500usb_mac80211_ops = {
	.conf_tx		= rt2x00mac_conf_tx,
	.rfkill_poll		= rt2x00mac_rfkill_poll,
	.flush			= rt2x00mac_flush,
	.get_ringparam		= rt2x00mac_get_ringparam,
};

static const struct rt2x00lib_ops rt2500usb_rt2x00_ops = {
+1 −0
Original line number Diff line number Diff line
@@ -1028,6 +1028,7 @@ static const struct ieee80211_ops rt2800pci_mac80211_ops = {
	.ampdu_action		= rt2800_ampdu_action,
	.flush			= rt2x00mac_flush,
	.get_survey		= rt2800_get_survey,
	.get_ringparam		= rt2x00mac_get_ringparam,
};

static const struct rt2800_ops rt2800pci_rt2800_ops = {
+1 −0
Original line number Diff line number Diff line
@@ -673,6 +673,7 @@ static const struct ieee80211_ops rt2800usb_mac80211_ops = {
	.ampdu_action		= rt2800_ampdu_action,
	.flush			= rt2x00mac_flush,
	.get_survey		= rt2800_get_survey,
	.get_ringparam		= rt2x00mac_get_ringparam,
};

static const struct rt2800_ops rt2800usb_rt2800_ops = {
Loading