#22290: rt2x00 AP and Adhoc combination
------------------------------------------+--------------------------------
Reporter: markus@… | Owner: developers
Type: defect | Status: new
Priority: low | Milestone: Features Paradise
Component: kernel | Version: Chaos Calmer 15.05
Keywords: adhoc multimode combinations |
------------------------------------------+--------------------------------
HI
I have some routers with rt2860pci wireless and want to add Ap and Adhoc
for batman and client access at on once (Freifunk common setup) , but the
driver for the rt2860 is limited. Any idea why it wont work to add just
NL80211_IFTYPE_ADHOC at rt2x00dev.c
{{{
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
@@ -1284,7 +1284,7 @@ static inline void rt2x00lib_set_if_comb
*/
if_limit = &rt2x00dev->if_limits_ap;
if_limit->max = rt2x00dev->ops->max_ap_intf;
- if_limit->types = BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_STATION);
+ if_limit->types = BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_STATION) ;
#ifdef CPTCFG_MAC80211_MESH
if_limit->types |= BIT(NL80211_IFTYPE_MESH_POINT);
#endif
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/22290>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets