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

Commit 0bccece5 authored by David S. Miller's avatar David S. Miller
Browse files

Merge tag 'wireless-drivers-for-davem-2015-07-20' of...

Merge tag 'wireless-drivers-for-davem-2015-07-20' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers



Kalle Valo says:

====================
ath9k:

* fix device ID check for AR956x

iwlwifi:

* bug fixes specific for 8000 series
* fix a crash in time events
* fix a crash in PCIe transport
* fix BT Coex code that prevented association on certain
  devices (3160).
* revert the new RBD allocation model because it introduced
  a bug when running on weak VM setups.
* new device IDs
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 1e353cdd df2cd458
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -279,6 +279,7 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah)
		return;
		return;
	case AR9300_DEVID_QCA956X:
	case AR9300_DEVID_QCA956X:
		ah->hw_version.macVersion = AR_SREV_VERSION_9561;
		ah->hw_version.macVersion = AR_SREV_VERSION_9561;
		return;
	}
	}


	val = REG_READ(ah, AR_SREV) & AR_SREV_ID;
	val = REG_READ(ah, AR_SREV) & AR_SREV_ID;
+6 −0
Original line number Original line Diff line number Diff line
@@ -438,6 +438,12 @@ static inline unsigned int FH_MEM_CBBC_QUEUE(unsigned int chnl)
#define RX_QUEUE_MASK                         255
#define RX_QUEUE_MASK                         255
#define RX_QUEUE_SIZE_LOG                     8
#define RX_QUEUE_SIZE_LOG                     8


/*
 * RX related structures and functions
 */
#define RX_FREE_BUFFERS 64
#define RX_LOW_WATERMARK 8

/**
/**
 * struct iwl_rb_status - reserve buffer status
 * struct iwl_rb_status - reserve buffer status
 * 	host memory mapped FH registers
 * 	host memory mapped FH registers
+5 −7
Original line number Original line Diff line number Diff line
@@ -540,13 +540,11 @@ static void iwl_set_hw_address_family_8000(struct device *dev,
		hw_addr = (const u8 *)(mac_override +
		hw_addr = (const u8 *)(mac_override +
				 MAC_ADDRESS_OVERRIDE_FAMILY_8000);
				 MAC_ADDRESS_OVERRIDE_FAMILY_8000);


		/* The byte order is little endian 16 bit, meaning 214365 */
		/*
		data->hw_addr[0] = hw_addr[1];
		 * Store the MAC address from MAO section.
		data->hw_addr[1] = hw_addr[0];
		 * No byte swapping is required in MAO section
		data->hw_addr[2] = hw_addr[3];
		 */
		data->hw_addr[3] = hw_addr[2];
		memcpy(data->hw_addr, hw_addr, ETH_ALEN);
		data->hw_addr[4] = hw_addr[5];
		data->hw_addr[5] = hw_addr[4];


		/*
		/*
		 * Force the use of the OTP MAC address in case of reserved MAC
		 * Force the use of the OTP MAC address in case of reserved MAC
+2 −1
Original line number Original line Diff line number Diff line
@@ -660,7 +660,8 @@ struct iwl_scan_config {
 * iwl_umac_scan_flags
 * iwl_umac_scan_flags
 *@IWL_UMAC_SCAN_FLAG_PREEMPTIVE: scan process triggered by this scan request
 *@IWL_UMAC_SCAN_FLAG_PREEMPTIVE: scan process triggered by this scan request
 *	can be preempted by other scan requests with higher priority.
 *	can be preempted by other scan requests with higher priority.
 *	The low priority scan is aborted.
 *	The low priority scan will be resumed when the higher proirity scan is
 *	completed.
 *@IWL_UMAC_SCAN_FLAG_START_NOTIF: notification will be sent to the driver
 *@IWL_UMAC_SCAN_FLAG_START_NOTIF: notification will be sent to the driver
 *	when scan starts.
 *	when scan starts.
 */
 */
+3 −0
Original line number Original line Diff line number Diff line
@@ -1109,6 +1109,9 @@ static int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
	cmd->uid = cpu_to_le32(uid);
	cmd->uid = cpu_to_le32(uid);
	cmd->general_flags = cpu_to_le32(iwl_mvm_scan_umac_flags(mvm, params));
	cmd->general_flags = cpu_to_le32(iwl_mvm_scan_umac_flags(mvm, params));


	if (type == IWL_MVM_SCAN_SCHED)
		cmd->flags = cpu_to_le32(IWL_UMAC_SCAN_FLAG_PREEMPTIVE);

	if (iwl_mvm_scan_use_ebs(mvm, vif, n_iterations))
	if (iwl_mvm_scan_use_ebs(mvm, vif, n_iterations))
		cmd->channel_flags = IWL_SCAN_CHANNEL_FLAG_EBS |
		cmd->channel_flags = IWL_SCAN_CHANNEL_FLAG_EBS |
				     IWL_SCAN_CHANNEL_FLAG_EBS_ACCURATE |
				     IWL_SCAN_CHANNEL_FLAG_EBS_ACCURATE |
Loading