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

Commit 00e8cb00 authored by David S. Miller's avatar David S. Miller
Browse files

Merge tag 'wireless-drivers-for-davem-2016-06-21' of...

Merge tag 'wireless-drivers-for-davem-2016-06-21' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers



Kalle Valo says:

====================
wireless-drivers fixes for 4.7

iwlwifi

* fix the scan timeout for long scans
* fix an RCU splat caused when updating the TKIP key
* fix a potential NULL-derefence introduced recently
* fix a IGTK key bug that has existed since the MVM driver was introduced
* fix some fw capabilities checks that got accidentally inverted

rtl8xxxu

* fix typo on variable name

ath10k

* fix deadlock when peer cannot be created
* fix crash related to printing features
* fix deadlock while processing rx_in_ord_ind

ath9k

* fix GPIO mask regression for AR9462 and AR9565
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents efeb2267 034fdd4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1083,7 +1083,7 @@ int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name,
			}

			ath10k_dbg_dump(ar, ATH10K_DBG_BOOT, "features", "",
					ar->running_fw->fw_file.fw_features,
					fw_file->fw_features,
					sizeof(fw_file->fw_features));
			break;
		case ATH10K_FW_IE_FW_IMAGE:
+0 −1
Original line number Diff line number Diff line
@@ -1904,7 +1904,6 @@ static void ath10k_htt_rx_in_ord_ind(struct ath10k *ar, struct sk_buff *skb)
			return;
		}
	}
	ath10k_htt_rx_msdu_buff_replenish(htt);
}

static void ath10k_htt_rx_tx_fetch_resp_id_confirm(struct ath10k *ar,
+1 −1
Original line number Diff line number Diff line
@@ -679,10 +679,10 @@ static int ath10k_peer_create(struct ath10k *ar,

	peer = ath10k_peer_find(ar, vdev_id, addr);
	if (!peer) {
		spin_unlock_bh(&ar->data_lock);
		ath10k_warn(ar, "failed to find peer %pM on vdev %i after creation\n",
			    addr, vdev_id);
		ath10k_wmi_peer_delete(ar, vdev_id, addr);
		spin_unlock_bh(&ar->data_lock);
		return -ENOENT;
	}

+4 −4
Original line number Diff line number Diff line
@@ -1122,12 +1122,12 @@ enum {
#define AR9300_NUM_GPIO                          16
#define AR9330_NUM_GPIO				 16
#define AR9340_NUM_GPIO				 23
#define AR9462_NUM_GPIO				 10
#define AR9462_NUM_GPIO				 14
#define AR9485_NUM_GPIO				 12
#define AR9531_NUM_GPIO				 18
#define AR9550_NUM_GPIO				 24
#define AR9561_NUM_GPIO				 23
#define AR9565_NUM_GPIO				 12
#define AR9565_NUM_GPIO				 14
#define AR9580_NUM_GPIO				 16
#define AR7010_NUM_GPIO                          16

@@ -1139,12 +1139,12 @@ enum {
#define AR9300_GPIO_MASK			 0x0000F4FF
#define AR9330_GPIO_MASK			 0x0000F4FF
#define AR9340_GPIO_MASK			 0x0000000F
#define AR9462_GPIO_MASK			 0x000003FF
#define AR9462_GPIO_MASK			 0x00003FFF
#define AR9485_GPIO_MASK			 0x00000FFF
#define AR9531_GPIO_MASK			 0x0000000F
#define AR9550_GPIO_MASK			 0x0000000F
#define AR9561_GPIO_MASK			 0x0000000F
#define AR9565_GPIO_MASK			 0x00000FFF
#define AR9565_GPIO_MASK			 0x00003FFF
#define AR9580_GPIO_MASK			 0x0000F4FF
#define AR7010_GPIO_MASK			 0x0000FFFF

+4 −4
Original line number Diff line number Diff line
@@ -3851,7 +3851,7 @@ static int iwl_mvm_mac_get_survey(struct ieee80211_hw *hw, int idx,
	if (idx != 0)
		return -ENOENT;

	if (fw_has_capa(&mvm->fw->ucode_capa,
	if (!fw_has_capa(&mvm->fw->ucode_capa,
			 IWL_UCODE_TLV_CAPA_RADIO_BEACON_STATS))
		return -ENOENT;

@@ -3898,7 +3898,7 @@ static void iwl_mvm_mac_sta_statistics(struct ieee80211_hw *hw,
	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
	struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);

	if (fw_has_capa(&mvm->fw->ucode_capa,
	if (!fw_has_capa(&mvm->fw->ucode_capa,
			 IWL_UCODE_TLV_CAPA_RADIO_BEACON_STATS))
		return;

Loading