mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-11-10 16:49:17 +00:00
Merge pull request #114 from NomDeTom/irate/netns
Enable network namespace migration for the default build. Keep it disabled when bridge support or band steering is enabled because those paths still use init_net. Validation: all three modules built against Linux 6.17 headers; the preprocessed capability assignment was checked for all four bridge/steering configuration combinations.
This commit is contained in:
1 file changed
+5
@@ -9285,6 +9285,11 @@ if((g_rwnx_plat->usbdev->chipid == PRODUCT_ID_AIC8801) ||
|
|||||||
WIPHY_FLAG_4ADDR_STATION |
|
WIPHY_FLAG_4ADDR_STATION |
|
||||||
WIPHY_FLAG_4ADDR_AP;
|
WIPHY_FLAG_4ADDR_AP;
|
||||||
|
|
||||||
|
#if !defined(CONFIG_BR_SUPPORT) && !defined(CONFIG_BAND_STEERING)
|
||||||
|
/* The optional bridge and steering paths still use init_net. */
|
||||||
|
wiphy->flags |= WIPHY_FLAG_NETNS_OK;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0)
|
||||||
wiphy->max_num_csa_counters = BCN_MAX_CSA_CPT;
|
wiphy->max_num_csa_counters = BCN_MAX_CSA_CPT;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user