Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
ath.git patches for v5.20. One fix and rest minor cleanup.
This commit is contained in:
commit
9fab4cc8c3
@ -1401,7 +1401,8 @@ void ath11k_mac_bcn_tx_event(struct ath11k_vif *arvif)
|
||||
if (!vif->bss_conf.color_change_active && !arvif->bcca_zero_sent)
|
||||
return;
|
||||
|
||||
if (vif->bss_conf.color_change_active && ieee80211_beacon_cntdwn_is_complete(vif)) {
|
||||
if (vif->bss_conf.color_change_active &&
|
||||
ieee80211_beacon_cntdwn_is_complete(vif)) {
|
||||
arvif->bcca_zero_sent = true;
|
||||
ieee80211_color_change_finish(vif);
|
||||
return;
|
||||
|
@ -1982,7 +1982,7 @@ ath5k_beacon_send(struct ath5k_hw *ah)
|
||||
|
||||
/*
|
||||
* Check if the previous beacon has gone out. If
|
||||
* not, don't don't try to post another: skip this
|
||||
* not, don't try to post another: skip this
|
||||
* period and wait for the next. Missed beacons
|
||||
* indicate a problem and should not occur. If we
|
||||
* miss too many consecutive beacons reset the device.
|
||||
|
@ -410,7 +410,7 @@ ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags,
|
||||
/* FIF_CONTROL doc says we should only pass on control frames for this
|
||||
* station. This needs testing. I believe right now this
|
||||
* enables *all* control frames, which is OK.. but
|
||||
* but we should see if we can improve on granularity */
|
||||
* we should see if we can improve on granularity */
|
||||
if (*new_flags & FIF_CONTROL)
|
||||
rfilt |= AR5K_RX_FILTER_CONTROL;
|
||||
|
||||
|
@ -92,7 +92,7 @@ struct bus_request {
|
||||
* emode - This indicates the whether the command is to be executed in a
|
||||
* blocking or non-blocking fashion (HIF_SYNCHRONOUS/
|
||||
* HIF_ASYNCHRONOUS). The read/write data paths in HTC have been
|
||||
* implemented using the asynchronous mode allowing the the bus
|
||||
* implemented using the asynchronous mode allowing the bus
|
||||
* driver to indicate the completion of operation through the
|
||||
* registered callback routine. The requirement primarily comes
|
||||
* from the contexts these operations get called from (a driver's
|
||||
|
@ -1185,7 +1185,7 @@ static int ath6kl_sdio_bmi_read(struct ath6kl *ar, u8 *buf, u32 len)
|
||||
* Wait for first 4 bytes to be in FIFO
|
||||
* If CONSERVATIVE_BMI_READ is enabled, also wait for
|
||||
* a BMI command credit, which indicates that the ENTIRE
|
||||
* response is available in the the FIFO
|
||||
* response is available in the FIFO
|
||||
*
|
||||
* CASE 3: length > 128
|
||||
* Wait for the first 4 bytes to be in FIFO
|
||||
|
@ -698,7 +698,7 @@ enum auth_mode {
|
||||
|
||||
/*
|
||||
* NB: these values are ordered carefully; there are lots of
|
||||
* of implications in any reordering. In particular beware
|
||||
* implications in any reordering. In particular beware
|
||||
* that 4 is not used to avoid conflicting with IEEE80211_F_PRIVACY.
|
||||
*/
|
||||
#define ATH6KL_CIPHER_WEP 0
|
||||
|
@ -48,7 +48,7 @@
|
||||
* the MAC address to obtain the relevant bits and compare the result with
|
||||
* (frame's BSSID & mask) to see if they match.
|
||||
*
|
||||
* Simple example: on your card you have have two BSSes you have created with
|
||||
* Simple example: on your card you have two BSSes you have created with
|
||||
* BSSID-01 and BSSID-02. Lets assume BSSID-01 will not use the MAC address.
|
||||
* There is another BSSID-03 but you are not part of it. For simplicity's sake,
|
||||
* assuming only 4 bits for a mac address and for BSSIDs you can then have:
|
||||
|
@ -4142,7 +4142,7 @@ struct wcn36xx_hal_dump_cmd_rsp_msg {
|
||||
/* Length of the responce message */
|
||||
u32 rsp_length;
|
||||
|
||||
/* FIXME: Currently considering the the responce will be less than
|
||||
/* FIXME: Currently considering the responce will be less than
|
||||
* 100bytes */
|
||||
u8 rsp_buffer[DUMPCMD_RSP_BUFFER];
|
||||
} __packed;
|
||||
|
@ -1012,18 +1012,12 @@ static ssize_t wil_write_file_wmi(struct file *file, const char __user *buf,
|
||||
u16 cmdid;
|
||||
int rc, rc1;
|
||||
|
||||
if (cmdlen < 0)
|
||||
if (cmdlen < 0 || *ppos != 0)
|
||||
return -EINVAL;
|
||||
|
||||
wmi = kmalloc(len, GFP_KERNEL);
|
||||
if (!wmi)
|
||||
return -ENOMEM;
|
||||
|
||||
rc = simple_write_to_buffer(wmi, len, ppos, buf, len);
|
||||
if (rc < 0) {
|
||||
kfree(wmi);
|
||||
return rc;
|
||||
}
|
||||
wmi = memdup_user(buf, len);
|
||||
if (IS_ERR(wmi))
|
||||
return PTR_ERR(wmi);
|
||||
|
||||
cmd = (cmdlen > 0) ? &wmi[1] : NULL;
|
||||
cmdid = le16_to_cpu(wmi->command_id);
|
||||
|
@ -356,7 +356,7 @@ struct vring_rx_mac {
|
||||
* bit 10 : cmd_dma_it:1 immediate interrupt
|
||||
* bit 11..15 : reserved:5
|
||||
* bit 16..29 : phy_info_length:14 It is valid when the PII is set.
|
||||
* When the FFM bit is set bits 29-27 are used for for
|
||||
* When the FFM bit is set bits 29-27 are used for
|
||||
* Flex Filter Match. Matching Index to one of the L2
|
||||
* EtherType Flex Filter
|
||||
* bit 30..31 : l4_type:2 valid if the L4I bit is set in the status field
|
||||
|
Loading…
Reference in New Issue
Block a user