All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe
@ 2018-03-18 16:49 Parthiban Nallathambi
  2018-03-18 16:49 ` [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version Parthiban Nallathambi
  2018-03-19  5:10 ` [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Parthiban Nallathambi @ 2018-03-18 16:49 UTC (permalink / raw)
  To: openembedded-devel, raj.khem; +Cc: barathiraja

Patches reffered in bbapend are with 1.24 (based on
meta-oe 'rocko') version but the bbappend naming is
with 1.27 (based on meta-oe 'master'.

Rename the bbappend to point to correct version of
meta-oe rocko branch.

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
---
 recipes-tweaks/busybox/{busybox_1.27%.bbappend => busybox_1.24%.bbappend} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-tweaks/busybox/{busybox_1.27%.bbappend => busybox_1.24%.bbappend} (100%)

diff --git a/recipes-tweaks/busybox/busybox_1.27%.bbappend b/recipes-tweaks/busybox/busybox_1.24%.bbappend
similarity index 100%
rename from recipes-tweaks/busybox/busybox_1.27%.bbappend
rename to recipes-tweaks/busybox/busybox_1.24%.bbappend
-- 
2.14.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version
  2018-03-18 16:49 [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe Parthiban Nallathambi
@ 2018-03-18 16:49 ` Parthiban Nallathambi
  2018-03-19  4:50   ` Khem Raj
  2018-03-19  5:10 ` [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Parthiban Nallathambi @ 2018-03-18 16:49 UTC (permalink / raw)
  To: openembedded-devel, raj.khem; +Cc: barathiraja

Update the existing patch to work for hostapd 2.6
(which is the current version of openembedded-core
rocko branch).

"netifd.sh" is no more part of hostapd source, so
removing it from do_install section of tweak

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
---
 recipes-tweaks/hostapd/hostapd/300-noscan.patch | 42 ++++++++++++-------------
 recipes-tweaks/hostapd/hostapd_%.bbappend       |  2 --
 2 files changed, 21 insertions(+), 23 deletions(-)

diff --git a/recipes-tweaks/hostapd/hostapd/300-noscan.patch b/recipes-tweaks/hostapd/hostapd/300-noscan.patch
index e89cb9d..e9f8ee1 100644
--- a/recipes-tweaks/hostapd/hostapd/300-noscan.patch
+++ b/recipes-tweaks/hostapd/hostapd/300-noscan.patch
@@ -1,7 +1,7 @@
-diff -ruN hostapd-2.5.orig/hostapd/config_file.c hostapd-2.5/hostapd/config_file.c
---- hostapd-2.5.orig/hostapd/config_file.c	2017-02-15 16:20:07.102232803 -0700
-+++ hostapd-2.5/hostapd/config_file.c	2017-02-15 16:20:35.132232593 -0700
-@@ -2795,6 +2795,10 @@
+diff -ruN hostapd-2.6/hostapd/config_file.c hostapd-2.6.orig/hostapd/config_file.c
+--- hostapd-2.6/hostapd/config_file.c	2016-10-02 20:51:11.000000000 +0200
++++ hostapd-2.6.orig/hostapd/config_file.c	2018-03-17 23:05:11.032723997 +0100
+@@ -2863,6 +2863,10 @@
  		}
  #endif /* CONFIG_IEEE80211W */
  #ifdef CONFIG_IEEE80211N
@@ -12,10 +12,10 @@ diff -ruN hostapd-2.5.orig/hostapd/config_file.c hostapd-2.5/hostapd/config_file
  	} else if (os_strcmp(buf, "ieee80211n") == 0) {
  		conf->ieee80211n = atoi(pos);
  	} else if (os_strcmp(buf, "ht_capab") == 0) {
-diff -ruN hostapd-2.5.orig/src/ap/ap_config.h hostapd-2.5/src/ap/ap_config.h
---- hostapd-2.5.orig/src/ap/ap_config.h	2017-02-15 16:20:07.105566137 -0700
-+++ hostapd-2.5/src/ap/ap_config.h	2017-02-15 16:20:35.135565927 -0700
-@@ -626,6 +626,8 @@
+diff -ruN hostapd-2.6/src/ap/ap_config.h hostapd-2.6.orig/src/ap/ap_config.h
+--- hostapd-2.6/src/ap/ap_config.h	2016-10-02 20:51:11.000000000 +0200
++++ hostapd-2.6.orig/src/ap/ap_config.h	2018-03-17 23:04:30.697722861 +0100
+@@ -664,6 +664,8 @@
  
  	int ht_op_mode_fixed;
  	u16 ht_capab;
@@ -24,22 +24,22 @@ diff -ruN hostapd-2.5.orig/src/ap/ap_config.h hostapd-2.5/src/ap/ap_config.h
  	int ieee80211n;
  	int secondary_channel;
  	int no_pri_sec_switch;
-diff -ruN hostapd-2.5.orig/src/ap/hw_features.c hostapd-2.5/src/ap/hw_features.c
---- hostapd-2.5.orig/src/ap/hw_features.c	2017-02-15 16:20:07.105566137 -0700
-+++ hostapd-2.5/src/ap/hw_features.c	2017-02-15 16:22:03.158898602 -0700
-@@ -472,7 +472,7 @@
- 	struct wpa_driver_scan_params params;
- 	int ret;
+diff -ruN hostapd-2.6/src/ap/hw_features.c hostapd-2.6.orig/src/ap/hw_features.c
+--- hostapd-2.6/src/ap/hw_features.c	2016-10-02 20:51:11.000000000 +0200
++++ hostapd-2.6.orig/src/ap/hw_features.c	2018-03-17 23:05:54.273725214 +0100
+@@ -226,7 +226,7 @@
+ {
+ 	int pri_chan, sec_chan;
  
 -	if (!iface->conf->secondary_channel)
 +	if (!iface->conf->secondary_channel || iface->conf->noscan)
- 		return 0; /* HT40 not used */
+ 		return 1; /* HT40 not used */
  
- 	hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
-diff -ruN hostapd-2.5.orig/src/ap/ieee802_11_ht.c hostapd-2.5/src/ap/ieee802_11_ht.c
---- hostapd-2.5.orig/src/ap/ieee802_11_ht.c	2017-02-15 16:20:07.105566137 -0700
-+++ hostapd-2.5/src/ap/ieee802_11_ht.c	2017-02-15 16:20:35.135565927 -0700
-@@ -221,6 +221,9 @@
+ 	pri_chan = iface->conf->channel;
+diff -ruN hostapd-2.6/src/ap/ieee802_11_ht.c hostapd-2.6.orig/src/ap/ieee802_11_ht.c
+--- hostapd-2.6/src/ap/ieee802_11_ht.c	2016-10-02 20:51:11.000000000 +0200
++++ hostapd-2.6.orig/src/ap/ieee802_11_ht.c	2018-03-17 23:08:20.303729325 +0100
+@@ -244,6 +244,9 @@
  	if (!(iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET))
  		return;
  
@@ -49,7 +49,7 @@ diff -ruN hostapd-2.5.orig/src/ap/ieee802_11_ht.c hostapd-2.5/src/ap/ieee802_11_
  	if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie))
  		return;
  
-@@ -345,6 +348,9 @@
+@@ -368,6 +371,9 @@
  	if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
  		return;
  
diff --git a/recipes-tweaks/hostapd/hostapd_%.bbappend b/recipes-tweaks/hostapd/hostapd_%.bbappend
index be45723..3b2f646 100644
--- a/recipes-tweaks/hostapd/hostapd_%.bbappend
+++ b/recipes-tweaks/hostapd/hostapd_%.bbappend
@@ -15,8 +15,6 @@ do_install_append() {
     install -d ${D}${base_libdir}/netifd/wireless
     install -d ${D}${base_libdir}/wifi
 
-    install -m 0755 ${WORKDIR}/git/openwrt/package/network/services/hostapd/files/netifd.sh ${D}${base_libdir}/netifd/hostapd.sh
-
     install -m 0755 ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/wifi/mac80211.sh ${D}${base_libdir}/wifi/mac80211.sh
     install -m 0755 ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh ${D}${base_libdir}/netifd/wireless/mac80211.sh
 }
-- 
2.14.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version
  2018-03-18 16:49 ` [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version Parthiban Nallathambi
@ 2018-03-19  4:50   ` Khem Raj
  2018-05-11  2:51     ` Daniel F. Dickinson
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2018-03-19  4:50 UTC (permalink / raw)
  To: Parthiban Nallathambi, openembedded-devel; +Cc: barathiraja



On 3/18/18 9:49 AM, Parthiban Nallathambi wrote:
> Update the existing patch to work for hostapd 2.6
> (which is the current version of openembedded-core
> rocko branch).
> 
> "netifd.sh" is no more part of hostapd source, so
> removing it from do_install section of tweak
> 

thanks looks ok.

> Signed-off-by: Parthiban Nallathambi <pn@denx.de>
> ---
>   recipes-tweaks/hostapd/hostapd/300-noscan.patch | 42 ++++++++++++-------------
>   recipes-tweaks/hostapd/hostapd_%.bbappend       |  2 --
>   2 files changed, 21 insertions(+), 23 deletions(-)
> 
> diff --git a/recipes-tweaks/hostapd/hostapd/300-noscan.patch b/recipes-tweaks/hostapd/hostapd/300-noscan.patch
> index e89cb9d..e9f8ee1 100644
> --- a/recipes-tweaks/hostapd/hostapd/300-noscan.patch
> +++ b/recipes-tweaks/hostapd/hostapd/300-noscan.patch
> @@ -1,7 +1,7 @@
> -diff -ruN hostapd-2.5.orig/hostapd/config_file.c hostapd-2.5/hostapd/config_file.c
> ---- hostapd-2.5.orig/hostapd/config_file.c	2017-02-15 16:20:07.102232803 -0700
> -+++ hostapd-2.5/hostapd/config_file.c	2017-02-15 16:20:35.132232593 -0700
> -@@ -2795,6 +2795,10 @@
> +diff -ruN hostapd-2.6/hostapd/config_file.c hostapd-2.6.orig/hostapd/config_file.c
> +--- hostapd-2.6/hostapd/config_file.c	2016-10-02 20:51:11.000000000 +0200
> ++++ hostapd-2.6.orig/hostapd/config_file.c	2018-03-17 23:05:11.032723997 +0100
> +@@ -2863,6 +2863,10 @@
>    		}
>    #endif /* CONFIG_IEEE80211W */
>    #ifdef CONFIG_IEEE80211N
> @@ -12,10 +12,10 @@ diff -ruN hostapd-2.5.orig/hostapd/config_file.c hostapd-2.5/hostapd/config_file
>    	} else if (os_strcmp(buf, "ieee80211n") == 0) {
>    		conf->ieee80211n = atoi(pos);
>    	} else if (os_strcmp(buf, "ht_capab") == 0) {
> -diff -ruN hostapd-2.5.orig/src/ap/ap_config.h hostapd-2.5/src/ap/ap_config.h
> ---- hostapd-2.5.orig/src/ap/ap_config.h	2017-02-15 16:20:07.105566137 -0700
> -+++ hostapd-2.5/src/ap/ap_config.h	2017-02-15 16:20:35.135565927 -0700
> -@@ -626,6 +626,8 @@
> +diff -ruN hostapd-2.6/src/ap/ap_config.h hostapd-2.6.orig/src/ap/ap_config.h
> +--- hostapd-2.6/src/ap/ap_config.h	2016-10-02 20:51:11.000000000 +0200
> ++++ hostapd-2.6.orig/src/ap/ap_config.h	2018-03-17 23:04:30.697722861 +0100
> +@@ -664,6 +664,8 @@
>    
>    	int ht_op_mode_fixed;
>    	u16 ht_capab;
> @@ -24,22 +24,22 @@ diff -ruN hostapd-2.5.orig/src/ap/ap_config.h hostapd-2.5/src/ap/ap_config.h
>    	int ieee80211n;
>    	int secondary_channel;
>    	int no_pri_sec_switch;
> -diff -ruN hostapd-2.5.orig/src/ap/hw_features.c hostapd-2.5/src/ap/hw_features.c
> ---- hostapd-2.5.orig/src/ap/hw_features.c	2017-02-15 16:20:07.105566137 -0700
> -+++ hostapd-2.5/src/ap/hw_features.c	2017-02-15 16:22:03.158898602 -0700
> -@@ -472,7 +472,7 @@
> - 	struct wpa_driver_scan_params params;
> - 	int ret;
> +diff -ruN hostapd-2.6/src/ap/hw_features.c hostapd-2.6.orig/src/ap/hw_features.c
> +--- hostapd-2.6/src/ap/hw_features.c	2016-10-02 20:51:11.000000000 +0200
> ++++ hostapd-2.6.orig/src/ap/hw_features.c	2018-03-17 23:05:54.273725214 +0100
> +@@ -226,7 +226,7 @@
> + {
> + 	int pri_chan, sec_chan;
>    
>   -	if (!iface->conf->secondary_channel)
>   +	if (!iface->conf->secondary_channel || iface->conf->noscan)
> - 		return 0; /* HT40 not used */
> + 		return 1; /* HT40 not used */
>    
> - 	hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
> -diff -ruN hostapd-2.5.orig/src/ap/ieee802_11_ht.c hostapd-2.5/src/ap/ieee802_11_ht.c
> ---- hostapd-2.5.orig/src/ap/ieee802_11_ht.c	2017-02-15 16:20:07.105566137 -0700
> -+++ hostapd-2.5/src/ap/ieee802_11_ht.c	2017-02-15 16:20:35.135565927 -0700
> -@@ -221,6 +221,9 @@
> + 	pri_chan = iface->conf->channel;
> +diff -ruN hostapd-2.6/src/ap/ieee802_11_ht.c hostapd-2.6.orig/src/ap/ieee802_11_ht.c
> +--- hostapd-2.6/src/ap/ieee802_11_ht.c	2016-10-02 20:51:11.000000000 +0200
> ++++ hostapd-2.6.orig/src/ap/ieee802_11_ht.c	2018-03-17 23:08:20.303729325 +0100
> +@@ -244,6 +244,9 @@
>    	if (!(iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET))
>    		return;
>    
> @@ -49,7 +49,7 @@ diff -ruN hostapd-2.5.orig/src/ap/ieee802_11_ht.c hostapd-2.5/src/ap/ieee802_11_
>    	if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie))
>    		return;
>    
> -@@ -345,6 +348,9 @@
> +@@ -368,6 +371,9 @@
>    	if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
>    		return;
>    
> diff --git a/recipes-tweaks/hostapd/hostapd_%.bbappend b/recipes-tweaks/hostapd/hostapd_%.bbappend
> index be45723..3b2f646 100644
> --- a/recipes-tweaks/hostapd/hostapd_%.bbappend
> +++ b/recipes-tweaks/hostapd/hostapd_%.bbappend
> @@ -15,8 +15,6 @@ do_install_append() {
>       install -d ${D}${base_libdir}/netifd/wireless
>       install -d ${D}${base_libdir}/wifi
>   
> -    install -m 0755 ${WORKDIR}/git/openwrt/package/network/services/hostapd/files/netifd.sh ${D}${base_libdir}/netifd/hostapd.sh
> -
>       install -m 0755 ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/wifi/mac80211.sh ${D}${base_libdir}/wifi/mac80211.sh
>       install -m 0755 ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh ${D}${base_libdir}/netifd/wireless/mac80211.sh
>   }
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe
  2018-03-18 16:49 [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe Parthiban Nallathambi
  2018-03-18 16:49 ` [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version Parthiban Nallathambi
@ 2018-03-19  5:10 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2018-03-19  5:10 UTC (permalink / raw)
  To: Parthiban Nallathambi, openembedded-devel; +Cc: barathiraja



On 3/18/18 9:49 AM, Parthiban Nallathambi wrote:
> Patches reffered in bbapend are with 1.24 (based on
> meta-oe 'rocko') version but the bbappend naming is
> with 1.27 (based on meta-oe 'master'.
> 
> Rename the bbappend to point to correct version of
> meta-oe rocko branch.
> 
> Signed-off-by: Parthiban Nallathambi <pn@denx.de>
> ---
>   recipes-tweaks/busybox/{busybox_1.27%.bbappend => busybox_1.24%.bbappend} | 0
>   1 file changed, 0 insertions(+), 0 deletions(-)
>   rename recipes-tweaks/busybox/{busybox_1.27%.bbappend => busybox_1.24%.bbappend} (100%)
> 
> diff --git a/recipes-tweaks/busybox/busybox_1.27%.bbappend b/recipes-tweaks/busybox/busybox_1.24%.bbappend
> similarity index 100%
> rename from recipes-tweaks/busybox/busybox_1.27%.bbappend
> rename to recipes-tweaks/busybox/busybox_1.24%.bbappend
> 

Please add [meta-openwrt] in subject, and [branchname] as well 
otherwise, I will miss it, best is to send a github pull request. we do 
not have rocko branch for meta-openwrt because we only have it working 
with master and we will create sumo branch once core layers branch out.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version
  2018-03-19  4:50   ` Khem Raj
@ 2018-05-11  2:51     ` Daniel F. Dickinson
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel F. Dickinson @ 2018-05-11  2:51 UTC (permalink / raw)
  To: Khem Raj, Parthiban Nallathambi, openembedded-devel; +Cc: barathiraja

On 2018-03-19 12:50 AM, Khem Raj wrote:
> 
> 
> On 3/18/18 9:49 AM, Parthiban Nallathambi wrote:
>> Update the existing patch to work for hostapd 2.6
>> (which is the current version of openembedded-core
>> rocko branch).
>>
>> "netifd.sh" is no more part of hostapd source, so
>> removing it from do_install section of tweak
>>
> 
> thanks looks ok.
> 

Sorry I just noticed this.  hostapd.sh comes from the OpenWrt repo not 
the hostapd repo, and is required for netifd, so this will break AP mode 
for meta-openwrt.

I think P.N. was confused because most recipes don't use multiple repos.

Regards,

Daniel


>> Signed-off-by: Parthiban Nallathambi <pn@denx.de>
>> ---
>>   recipes-tweaks/hostapd/hostapd/300-noscan.patch | 42 
>> ++++++++++++-------------
>>   recipes-tweaks/hostapd/hostapd_%.bbappend       |  2 --
>>   2 files changed, 21 insertions(+), 23 deletions(-)
>>
>> diff --git a/recipes-tweaks/hostapd/hostapd/300-noscan.patch 
>> b/recipes-tweaks/hostapd/hostapd/300-noscan.patch
>> index e89cb9d..e9f8ee1 100644
>> --- a/recipes-tweaks/hostapd/hostapd/300-noscan.patch
>> +++ b/recipes-tweaks/hostapd/hostapd/300-noscan.patch
>> @@ -1,7 +1,7 @@
>> -diff -ruN hostapd-2.5.orig/hostapd/config_file.c 
>> hostapd-2.5/hostapd/config_file.c
>> ---- hostapd-2.5.orig/hostapd/config_file.c    2017-02-15 
>> 16:20:07.102232803 -0700
>> -+++ hostapd-2.5/hostapd/config_file.c    2017-02-15 
>> 16:20:35.132232593 -0700
>> -@@ -2795,6 +2795,10 @@
>> +diff -ruN hostapd-2.6/hostapd/config_file.c 
>> hostapd-2.6.orig/hostapd/config_file.c
>> +--- hostapd-2.6/hostapd/config_file.c    2016-10-02 
>> 20:51:11.000000000 +0200
>> ++++ hostapd-2.6.orig/hostapd/config_file.c    2018-03-17 
>> 23:05:11.032723997 +0100
>> +@@ -2863,6 +2863,10 @@
>>            }
>>    #endif /* CONFIG_IEEE80211W */
>>    #ifdef CONFIG_IEEE80211N
>> @@ -12,10 +12,10 @@ diff -ruN hostapd-2.5.orig/hostapd/config_file.c 
>> hostapd-2.5/hostapd/config_file
>>        } else if (os_strcmp(buf, "ieee80211n") == 0) {
>>            conf->ieee80211n = atoi(pos);
>>        } else if (os_strcmp(buf, "ht_capab") == 0) {
>> -diff -ruN hostapd-2.5.orig/src/ap/ap_config.h 
>> hostapd-2.5/src/ap/ap_config.h
>> ---- hostapd-2.5.orig/src/ap/ap_config.h    2017-02-15 
>> 16:20:07.105566137 -0700
>> -+++ hostapd-2.5/src/ap/ap_config.h    2017-02-15 16:20:35.135565927 
>> -0700
>> -@@ -626,6 +626,8 @@
>> +diff -ruN hostapd-2.6/src/ap/ap_config.h 
>> hostapd-2.6.orig/src/ap/ap_config.h
>> +--- hostapd-2.6/src/ap/ap_config.h    2016-10-02 20:51:11.000000000 
>> +0200
>> ++++ hostapd-2.6.orig/src/ap/ap_config.h    2018-03-17 
>> 23:04:30.697722861 +0100
>> +@@ -664,6 +664,8 @@
>>        int ht_op_mode_fixed;
>>        u16 ht_capab;
>> @@ -24,22 +24,22 @@ diff -ruN hostapd-2.5.orig/src/ap/ap_config.h 
>> hostapd-2.5/src/ap/ap_config.h
>>        int ieee80211n;
>>        int secondary_channel;
>>        int no_pri_sec_switch;
>> -diff -ruN hostapd-2.5.orig/src/ap/hw_features.c 
>> hostapd-2.5/src/ap/hw_features.c
>> ---- hostapd-2.5.orig/src/ap/hw_features.c    2017-02-15 
>> 16:20:07.105566137 -0700
>> -+++ hostapd-2.5/src/ap/hw_features.c    2017-02-15 16:22:03.158898602 
>> -0700
>> -@@ -472,7 +472,7 @@
>> -     struct wpa_driver_scan_params params;
>> -     int ret;
>> +diff -ruN hostapd-2.6/src/ap/hw_features.c 
>> hostapd-2.6.orig/src/ap/hw_features.c
>> +--- hostapd-2.6/src/ap/hw_features.c    2016-10-02 20:51:11.000000000 
>> +0200
>> ++++ hostapd-2.6.orig/src/ap/hw_features.c    2018-03-17 
>> 23:05:54.273725214 +0100
>> +@@ -226,7 +226,7 @@
>> + {
>> +     int pri_chan, sec_chan;
>>   -    if (!iface->conf->secondary_channel)
>>   +    if (!iface->conf->secondary_channel || iface->conf->noscan)
>> -         return 0; /* HT40 not used */
>> +         return 1; /* HT40 not used */
>> -     hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
>> -diff -ruN hostapd-2.5.orig/src/ap/ieee802_11_ht.c 
>> hostapd-2.5/src/ap/ieee802_11_ht.c
>> ---- hostapd-2.5.orig/src/ap/ieee802_11_ht.c    2017-02-15 
>> 16:20:07.105566137 -0700
>> -+++ hostapd-2.5/src/ap/ieee802_11_ht.c    2017-02-15 
>> 16:20:35.135565927 -0700
>> -@@ -221,6 +221,9 @@
>> +     pri_chan = iface->conf->channel;
>> +diff -ruN hostapd-2.6/src/ap/ieee802_11_ht.c 
>> hostapd-2.6.orig/src/ap/ieee802_11_ht.c
>> +--- hostapd-2.6/src/ap/ieee802_11_ht.c    2016-10-02 
>> 20:51:11.000000000 +0200
>> ++++ hostapd-2.6.orig/src/ap/ieee802_11_ht.c    2018-03-17 
>> 23:08:20.303729325 +0100
>> +@@ -244,6 +244,9 @@
>>        if (!(iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET))
>>            return;
>> @@ -49,7 +49,7 @@ diff -ruN hostapd-2.5.orig/src/ap/ieee802_11_ht.c 
>> hostapd-2.5/src/ap/ieee802_11_
>>        if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie))
>>            return;
>> -@@ -345,6 +348,9 @@
>> +@@ -368,6 +371,9 @@
>>        if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
>>            return;
>> diff --git a/recipes-tweaks/hostapd/hostapd_%.bbappend 
>> b/recipes-tweaks/hostapd/hostapd_%.bbappend
>> index be45723..3b2f646 100644
>> --- a/recipes-tweaks/hostapd/hostapd_%.bbappend
>> +++ b/recipes-tweaks/hostapd/hostapd_%.bbappend
>> @@ -15,8 +15,6 @@ do_install_append() {
>>       install -d ${D}${base_libdir}/netifd/wireless
>>       install -d ${D}${base_libdir}/wifi
>> -    install -m 0755 
>> ${WORKDIR}/git/openwrt/package/network/services/hostapd/files/netifd.sh ${D}${base_libdir}/netifd/hostapd.sh 
>>
>> -
>>       install -m 0755 
>> ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/wifi/mac80211.sh 
>> ${D}${base_libdir}/wifi/mac80211.sh
>>       install -m 0755 
>> ${WORKDIR}/git/openwrt/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh 
>> ${D}${base_libdir}/netifd/wireless/mac80211.sh
>>   }
>>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-11  2:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-18 16:49 [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe Parthiban Nallathambi
2018-03-18 16:49 ` [meta-openwrt][PATCH] [hostapd]: Update patch based on 2.6 version Parthiban Nallathambi
2018-03-19  4:50   ` Khem Raj
2018-05-11  2:51     ` Daniel F. Dickinson
2018-03-19  5:10 ` [PATCH] [busybox]: Adjust the correct version according with patches and meta-oe Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.