2013-12-30 08:08:07

by Marek Puzyniak

[permalink] [raw]
Subject: [PATCH] ath10k: disable STA KICKOUT in FW

Currently ath10k is not using STA KICKOUT firmware functionality.
In order to avoid unwanted FW events this functionality should be
disabled when not used.

Signed-off-by: Marek Puzyniak <[email protected]>
---
drivers/net/wireless/ath/ath10k/mac.c | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 5b45f3a..93416ab 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct ieee80211_hw *hw,
}

if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
+ u32 param_id;
+
ret = ath10k_peer_create(ar, arvif->vdev_id, vif->addr);
if (ret) {
ath10k_warn("Failed to create peer for AP: %d\n", ret);
goto err_vdev_delete;
}
+
+ param_id = ar->wmi.pdev_param->sta_kickout_th;
+
+ /* Disable STA KICKOUT functionality in FW */
+ ret = ath10k_wmi_pdev_set_param(ar, param_id, 0);
+ if (ret)
+ ath10k_warn("Failed to disable STA KICKOUT\n");
}

if (arvif->vdev_type == WMI_VDEV_TYPE_STA) {
--
1.8.1.2



2014-01-15 06:23:46

by Marek Puzyniak

[permalink] [raw]
Subject: Re: [PATCH] ath10k: disable STA KICKOUT in FW

On 13 January 2014 10:51, Yeoh Chun-Yeow <[email protected]> wrote:
> Unfortunately, I have tried your mentioned firmware, but I am still
> getting the WMI_PEER_STA_KICKOUT_EVENTID.
>
> [ 159.020000] ath10k: wmi pdev set param 13 value 0
> .....
> [ 181.380000] ath10k: wmi peer assoc vdev 0 addr 04:f0:21:0c:a5:44
> [ 182.000000] ath10k: wmi event debug mesg len 44
> [ 182.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 183.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 184.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 185.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 185.580000] ath10k: wmi mgmt tx skb 86845f00 len 176 ftype 00 stype 50
> [ 185.580000] ath10k: wmi mgmt tx skb 86846180 len 176 ftype 00 stype 50
> [ 186.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 187.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 188.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 189.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 190.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 191.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 192.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 193.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 194.050000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 195.050000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
>
> # ethtool -i wlan0
> driver: ath10k_pci
> version: 3.3.8
> firmware-version: 10.1.467-1
>
> Am I miss out something?

You are right there are still too much WMI_PEER_STA_KICKOUT_EVENTID events.
Soon there will followup patch which will handle all cases. It looks
like the first one covers only one situation when STA_KICKOUT event
can be generated.

>
> ----
> Chun-Yeow
Marek
>
>
> On Mon, Jan 13, 2014 at 4:40 PM, Marek Puzyniak
> <[email protected]> wrote:
>> On 9 January 2014 10:09, Yeoh Chun-Yeow <[email protected]> wrote:
>>> Hi, Marek
>> Hi,
>>>
>>> Do you mind to share which firmware that you are using?
>>
>> I am using FW from:
>> https://github.com/kvalo/ath10k-firmware/blob/master/ap/firmware-2.bin_10.1.467-1
>>
>>> I have tried your patch and this is set accordingly in an the AP (set
>>> param 13). But once the associated STA is leaving,
>>> WMI_PEER_STA_KICKOUT_EVENTID is still received.
>>>
>>> [ 145.060000] ath10k: wmi pdev set param 13 value 0
>>> .......
>>> [ 148.560000] ath10k: wmi vdev id 0x0 set param 8 value 1
>>> [ 148.560000] ath10k: wmi peer create vdev_id 0 peer_addr 04:f0:21:0c:a5:44
>>> [ 148.560000] ath10k: wmi peer assoc vdev 0 addr 04:f0:21:0c:a5:44
>>> [ 149.040000] ath10k: wmi event debug mesg len 44
>>> [ 209.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
>>> [ 210.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
>>>
>>> FYI, I am using firmware version 999.999.0.636
>>>
>>> ethtool -i wlan0
>>> driver: ath10k_pci
>>> firmware-version: 999.999.0.636
>>>
>>> Thanks
>>>
>>> Regards,
>>> Chun-Yeow
>> Marek
>>>
>>>
>>> On Wed, Jan 8, 2014 at 6:40 PM, Marek Puzyniak <[email protected]> wrote:
>>>> On 2 January 2014 13:41, Yeoh Chun-Yeow <[email protected]> wrote:
>>>>>
>>>>> On Dec 30, 2013 4:08 PM, "Marek Puzyniak" <[email protected]> wrote:
>>>>>>
>>>>>> Currently ath10k is not using STA KICKOUT firmware functionality.
>>>>>> In order to avoid unwanted FW events this functionality should be
>>>>>> disabled when not used.
>>>>>
>>>>> What are unwanted FW events?
>>>>
>>>> WMI_PEER_STA_KICKOUT_EVENT which indicates lack of activity from
>>>> associated STA for specified period of time.
>>>>
>>>>>
>>>>> ----
>>>>> Chun-Yeow
>>>> Marek
>>>>>
>>>>>> Signed-off-by: Marek Puzyniak <[email protected]>
>>>>>> ---
>>>>>> drivers/net/wireless/ath/ath10k/mac.c | 9 +++++++++
>>>>>> 1 file changed, 9 insertions(+)
>>>>>>
>>>>>> diff --git a/drivers/net/wireless/ath/ath10k/mac.c
>>>>>> b/drivers/net/wireless/ath/ath10k/mac.c
>>>>>> index 5b45f3a..93416ab 100644
>>>>>> --- a/drivers/net/wireless/ath/ath10k/mac.c
>>>>>> +++ b/drivers/net/wireless/ath/ath10k/mac.c
>>>>>> @@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct
>>>>>> ieee80211_hw *hw,
>>>>>> }
>>>>>>
>>>>>> if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
>>>>>> + u32 param_id;
>>>>>> +
>>>>>> ret = ath10k_peer_create(ar, arvif->vdev_id, vif->addr);
>>>>>> if (ret) {
>>>>>> ath10k_warn("Failed to create peer for AP: %d\n",
>>>>>> ret);
>>>>>> goto err_vdev_delete;
>>>>>> }
>>>>>> +
>>>>>> + param_id = ar->wmi.pdev_param->sta_kickout_th;
>>>>>> +
>>>>>> + /* Disable STA KICKOUT functionality in FW */
>>>>>> + ret = ath10k_wmi_pdev_set_param(ar, param_id, 0);
>>>>>> + if (ret)
>>>>>> + ath10k_warn("Failed to disable STA KICKOUT\n");
>>>>>> }
>>>>>>
>>>>>> if (arvif->vdev_type == WMI_VDEV_TYPE_STA) {
>>>>>> --
>>>>>> 1.8.1.2
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> ath10k mailing list
>>>>>> [email protected]
>>>>>> http://lists.infradead.org/mailman/listinfo/ath10k
>
> _______________________________________________
> ath10k mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/ath10k

2014-01-09 09:09:54

by Chun-Yeow Yeoh

[permalink] [raw]
Subject: Re: [PATCH] ath10k: disable STA KICKOUT in FW

Hi, Marek

Do you mind to share which firmware that you are using?

I have tried your patch and this is set accordingly in an the AP (set
param 13). But once the associated STA is leaving,
WMI_PEER_STA_KICKOUT_EVENTID is still received.

[ 145.060000] ath10k: wmi pdev set param 13 value 0
.......
[ 148.560000] ath10k: wmi vdev id 0x0 set param 8 value 1
[ 148.560000] ath10k: wmi peer create vdev_id 0 peer_addr 04:f0:21:0c:a5:44
[ 148.560000] ath10k: wmi peer assoc vdev 0 addr 04:f0:21:0c:a5:44
[ 149.040000] ath10k: wmi event debug mesg len 44
[ 209.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 210.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID

FYI, I am using firmware version 999.999.0.636

ethtool -i wlan0
driver: ath10k_pci
firmware-version: 999.999.0.636

Thanks

Regards,
Chun-Yeow


On Wed, Jan 8, 2014 at 6:40 PM, Marek Puzyniak <[email protected]> wrote:
> On 2 January 2014 13:41, Yeoh Chun-Yeow <[email protected]> wrote:
>>
>> On Dec 30, 2013 4:08 PM, "Marek Puzyniak" <[email protected]> wrote:
>>>
>>> Currently ath10k is not using STA KICKOUT firmware functionality.
>>> In order to avoid unwanted FW events this functionality should be
>>> disabled when not used.
>>
>> What are unwanted FW events?
>
> WMI_PEER_STA_KICKOUT_EVENT which indicates lack of activity from
> associated STA for specified period of time.
>
>>
>> ----
>> Chun-Yeow
> Marek
>>
>>> Signed-off-by: Marek Puzyniak <[email protected]>
>>> ---
>>> drivers/net/wireless/ath/ath10k/mac.c | 9 +++++++++
>>> 1 file changed, 9 insertions(+)
>>>
>>> diff --git a/drivers/net/wireless/ath/ath10k/mac.c
>>> b/drivers/net/wireless/ath/ath10k/mac.c
>>> index 5b45f3a..93416ab 100644
>>> --- a/drivers/net/wireless/ath/ath10k/mac.c
>>> +++ b/drivers/net/wireless/ath/ath10k/mac.c
>>> @@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct
>>> ieee80211_hw *hw,
>>> }
>>>
>>> if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
>>> + u32 param_id;
>>> +
>>> ret = ath10k_peer_create(ar, arvif->vdev_id, vif->addr);
>>> if (ret) {
>>> ath10k_warn("Failed to create peer for AP: %d\n",
>>> ret);
>>> goto err_vdev_delete;
>>> }
>>> +
>>> + param_id = ar->wmi.pdev_param->sta_kickout_th;
>>> +
>>> + /* Disable STA KICKOUT functionality in FW */
>>> + ret = ath10k_wmi_pdev_set_param(ar, param_id, 0);
>>> + if (ret)
>>> + ath10k_warn("Failed to disable STA KICKOUT\n");
>>> }
>>>
>>> if (arvif->vdev_type == WMI_VDEV_TYPE_STA) {
>>> --
>>> 1.8.1.2
>>>
>>>
>>> _______________________________________________
>>> ath10k mailing list
>>> [email protected]
>>> http://lists.infradead.org/mailman/listinfo/ath10k

2014-01-13 08:40:08

by Marek Puzyniak

[permalink] [raw]
Subject: Re: [PATCH] ath10k: disable STA KICKOUT in FW

On 9 January 2014 10:09, Yeoh Chun-Yeow <[email protected]> wrote:
> Hi, Marek
Hi,
>
> Do you mind to share which firmware that you are using?

I am using FW from:
https://github.com/kvalo/ath10k-firmware/blob/master/ap/firmware-2.bin_10.1.467-1

> I have tried your patch and this is set accordingly in an the AP (set
> param 13). But once the associated STA is leaving,
> WMI_PEER_STA_KICKOUT_EVENTID is still received.
>
> [ 145.060000] ath10k: wmi pdev set param 13 value 0
> .......
> [ 148.560000] ath10k: wmi vdev id 0x0 set param 8 value 1
> [ 148.560000] ath10k: wmi peer create vdev_id 0 peer_addr 04:f0:21:0c:a5:44
> [ 148.560000] ath10k: wmi peer assoc vdev 0 addr 04:f0:21:0c:a5:44
> [ 149.040000] ath10k: wmi event debug mesg len 44
> [ 209.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
> [ 210.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
>
> FYI, I am using firmware version 999.999.0.636
>
> ethtool -i wlan0
> driver: ath10k_pci
> firmware-version: 999.999.0.636
>
> Thanks
>
> Regards,
> Chun-Yeow
Marek
>
>
> On Wed, Jan 8, 2014 at 6:40 PM, Marek Puzyniak <[email protected]> wrote:
>> On 2 January 2014 13:41, Yeoh Chun-Yeow <[email protected]> wrote:
>>>
>>> On Dec 30, 2013 4:08 PM, "Marek Puzyniak" <[email protected]> wrote:
>>>>
>>>> Currently ath10k is not using STA KICKOUT firmware functionality.
>>>> In order to avoid unwanted FW events this functionality should be
>>>> disabled when not used.
>>>
>>> What are unwanted FW events?
>>
>> WMI_PEER_STA_KICKOUT_EVENT which indicates lack of activity from
>> associated STA for specified period of time.
>>
>>>
>>> ----
>>> Chun-Yeow
>> Marek
>>>
>>>> Signed-off-by: Marek Puzyniak <[email protected]>
>>>> ---
>>>> drivers/net/wireless/ath/ath10k/mac.c | 9 +++++++++
>>>> 1 file changed, 9 insertions(+)
>>>>
>>>> diff --git a/drivers/net/wireless/ath/ath10k/mac.c
>>>> b/drivers/net/wireless/ath/ath10k/mac.c
>>>> index 5b45f3a..93416ab 100644
>>>> --- a/drivers/net/wireless/ath/ath10k/mac.c
>>>> +++ b/drivers/net/wireless/ath/ath10k/mac.c
>>>> @@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct
>>>> ieee80211_hw *hw,
>>>> }
>>>>
>>>> if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
>>>> + u32 param_id;
>>>> +
>>>> ret = ath10k_peer_create(ar, arvif->vdev_id, vif->addr);
>>>> if (ret) {
>>>> ath10k_warn("Failed to create peer for AP: %d\n",
>>>> ret);
>>>> goto err_vdev_delete;
>>>> }
>>>> +
>>>> + param_id = ar->wmi.pdev_param->sta_kickout_th;
>>>> +
>>>> + /* Disable STA KICKOUT functionality in FW */
>>>> + ret = ath10k_wmi_pdev_set_param(ar, param_id, 0);
>>>> + if (ret)
>>>> + ath10k_warn("Failed to disable STA KICKOUT\n");
>>>> }
>>>>
>>>> if (arvif->vdev_type == WMI_VDEV_TYPE_STA) {
>>>> --
>>>> 1.8.1.2
>>>>
>>>>
>>>> _______________________________________________
>>>> ath10k mailing list
>>>> [email protected]
>>>> http://lists.infradead.org/mailman/listinfo/ath10k

2014-01-08 10:40:11

by Marek Puzyniak

[permalink] [raw]
Subject: Re: [PATCH] ath10k: disable STA KICKOUT in FW

On 2 January 2014 13:41, Yeoh Chun-Yeow <[email protected]> wrote:
>
> On Dec 30, 2013 4:08 PM, "Marek Puzyniak" <[email protected]> wrote:
>>
>> Currently ath10k is not using STA KICKOUT firmware functionality.
>> In order to avoid unwanted FW events this functionality should be
>> disabled when not used.
>
> What are unwanted FW events?

WMI_PEER_STA_KICKOUT_EVENT which indicates lack of activity from
associated STA for specified period of time.

>
> ----
> Chun-Yeow
Marek
>
>> Signed-off-by: Marek Puzyniak <[email protected]>
>> ---
>> drivers/net/wireless/ath/ath10k/mac.c | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>> diff --git a/drivers/net/wireless/ath/ath10k/mac.c
>> b/drivers/net/wireless/ath/ath10k/mac.c
>> index 5b45f3a..93416ab 100644
>> --- a/drivers/net/wireless/ath/ath10k/mac.c
>> +++ b/drivers/net/wireless/ath/ath10k/mac.c
>> @@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct
>> ieee80211_hw *hw,
>> }
>>
>> if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
>> + u32 param_id;
>> +
>> ret = ath10k_peer_create(ar, arvif->vdev_id, vif->addr);
>> if (ret) {
>> ath10k_warn("Failed to create peer for AP: %d\n",
>> ret);
>> goto err_vdev_delete;
>> }
>> +
>> + param_id = ar->wmi.pdev_param->sta_kickout_th;
>> +
>> + /* Disable STA KICKOUT functionality in FW */
>> + ret = ath10k_wmi_pdev_set_param(ar, param_id, 0);
>> + if (ret)
>> + ath10k_warn("Failed to disable STA KICKOUT\n");
>> }
>>
>> if (arvif->vdev_type == WMI_VDEV_TYPE_STA) {
>> --
>> 1.8.1.2
>>
>>
>> _______________________________________________
>> ath10k mailing list
>> [email protected]
>> http://lists.infradead.org/mailman/listinfo/ath10k

2014-01-10 09:46:25

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] ath10k: disable STA KICKOUT in FW

Marek Puzyniak <[email protected]> writes:

> Currently ath10k is not using STA KICKOUT firmware functionality.
> In order to avoid unwanted FW events this functionality should be
> disabled when not used.
>
> Signed-off-by: Marek Puzyniak <[email protected]>

Thanks, applied. I did minor changes to the commit log based on
the feedback:

ath10k: disable STA kickout in FW

Currently ath10k is not using STA KICKOUT firmware functionality.
In order to avoid unwanted WMI_PEER_STA_KICKOUT_EVENT event this functionality
should be disabled when not used.

Signed-off-by: Marek Puzyniak <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>

> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct ieee80211_hw *hw,
> }
>
> if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
> + u32 param_id;
> +

Also I moved this to the beginning of the function.

--
Kalle Valo

2014-01-13 09:51:33

by Chun-Yeow Yeoh

[permalink] [raw]
Subject: Re: [PATCH] ath10k: disable STA KICKOUT in FW

Unfortunately, I have tried your mentioned firmware, but I am still
getting the WMI_PEER_STA_KICKOUT_EVENTID.

[ 159.020000] ath10k: wmi pdev set param 13 value 0
.....
[ 181.380000] ath10k: wmi peer assoc vdev 0 addr 04:f0:21:0c:a5:44
[ 182.000000] ath10k: wmi event debug mesg len 44
[ 182.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 183.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 184.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 185.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 185.580000] ath10k: wmi mgmt tx skb 86845f00 len 176 ftype 00 stype 50
[ 185.580000] ath10k: wmi mgmt tx skb 86846180 len 176 ftype 00 stype 50
[ 186.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 187.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 188.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 189.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 190.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 191.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 192.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 193.040000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 194.050000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
[ 195.050000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID

# ethtool -i wlan0
driver: ath10k_pci
version: 3.3.8
firmware-version: 10.1.467-1

Am I miss out something?

----
Chun-Yeow


On Mon, Jan 13, 2014 at 4:40 PM, Marek Puzyniak
<[email protected]> wrote:
> On 9 January 2014 10:09, Yeoh Chun-Yeow <[email protected]> wrote:
>> Hi, Marek
> Hi,
>>
>> Do you mind to share which firmware that you are using?
>
> I am using FW from:
> https://github.com/kvalo/ath10k-firmware/blob/master/ap/firmware-2.bin_10.1.467-1
>
>> I have tried your patch and this is set accordingly in an the AP (set
>> param 13). But once the associated STA is leaving,
>> WMI_PEER_STA_KICKOUT_EVENTID is still received.
>>
>> [ 145.060000] ath10k: wmi pdev set param 13 value 0
>> .......
>> [ 148.560000] ath10k: wmi vdev id 0x0 set param 8 value 1
>> [ 148.560000] ath10k: wmi peer create vdev_id 0 peer_addr 04:f0:21:0c:a5:44
>> [ 148.560000] ath10k: wmi peer assoc vdev 0 addr 04:f0:21:0c:a5:44
>> [ 149.040000] ath10k: wmi event debug mesg len 44
>> [ 209.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
>> [ 210.090000] ath10k: WMI_PEER_STA_KICKOUT_EVENTID
>>
>> FYI, I am using firmware version 999.999.0.636
>>
>> ethtool -i wlan0
>> driver: ath10k_pci
>> firmware-version: 999.999.0.636
>>
>> Thanks
>>
>> Regards,
>> Chun-Yeow
> Marek
>>
>>
>> On Wed, Jan 8, 2014 at 6:40 PM, Marek Puzyniak <[email protected]> wrote:
>>> On 2 January 2014 13:41, Yeoh Chun-Yeow <[email protected]> wrote:
>>>>
>>>> On Dec 30, 2013 4:08 PM, "Marek Puzyniak" <[email protected]> wrote:
>>>>>
>>>>> Currently ath10k is not using STA KICKOUT firmware functionality.
>>>>> In order to avoid unwanted FW events this functionality should be
>>>>> disabled when not used.
>>>>
>>>> What are unwanted FW events?
>>>
>>> WMI_PEER_STA_KICKOUT_EVENT which indicates lack of activity from
>>> associated STA for specified period of time.
>>>
>>>>
>>>> ----
>>>> Chun-Yeow
>>> Marek
>>>>
>>>>> Signed-off-by: Marek Puzyniak <[email protected]>
>>>>> ---
>>>>> drivers/net/wireless/ath/ath10k/mac.c | 9 +++++++++
>>>>> 1 file changed, 9 insertions(+)
>>>>>
>>>>> diff --git a/drivers/net/wireless/ath/ath10k/mac.c
>>>>> b/drivers/net/wireless/ath/ath10k/mac.c
>>>>> index 5b45f3a..93416ab 100644
>>>>> --- a/drivers/net/wireless/ath/ath10k/mac.c
>>>>> +++ b/drivers/net/wireless/ath/ath10k/mac.c
>>>>> @@ -2292,11 +2292,20 @@ static int ath10k_add_interface(struct
>>>>> ieee80211_hw *hw,
>>>>> }
>>>>>
>>>>> if (arvif->vdev_type == WMI_VDEV_TYPE_AP) {
>>>>> + u32 param_id;
>>>>> +
>>>>> ret = ath10k_peer_create(ar, arvif->vdev_id, vif->addr);
>>>>> if (ret) {
>>>>> ath10k_warn("Failed to create peer for AP: %d\n",
>>>>> ret);
>>>>> goto err_vdev_delete;
>>>>> }
>>>>> +
>>>>> + param_id = ar->wmi.pdev_param->sta_kickout_th;
>>>>> +
>>>>> + /* Disable STA KICKOUT functionality in FW */
>>>>> + ret = ath10k_wmi_pdev_set_param(ar, param_id, 0);
>>>>> + if (ret)
>>>>> + ath10k_warn("Failed to disable STA KICKOUT\n");
>>>>> }
>>>>>
>>>>> if (arvif->vdev_type == WMI_VDEV_TYPE_STA) {
>>>>> --
>>>>> 1.8.1.2
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ath10k mailing list
>>>>> [email protected]
>>>>> http://lists.infradead.org/mailman/listinfo/ath10k