Commit e0b0844
committed
ap: enable 40/80MHz AP on FullMAC chips (Galaxy S10)
On Broadcom FullMAC (brcmfmac) chips, hostapd aborted with -95 (Not
supported) whenever a 40/80MHz AP was requested: the firmware can't run the
HT40 OBSS coexistence scan on an AP vif. The crash surfaced reliably in
Droidspaces managed mode, where the longer setup window let hostapd reach
the scan instead of falling back first.
Emit no_pri_sec_switch=1 for HT40/VHT so hostapd skips that scan, and bump
the hostapd-vap submodule to wire no_pri_sec_switch into the config parser
(the upstream struct field exists but was unreachable from hostapd.conf) and
to fall back to 20MHz when the driver rejects the HT40 pair instead of
hard-failing. The FullMAC firmware then self-manages the final width. Assert
the patch is present at build time so a submodule bump can't silently drop it.
Signed-off-by: ravindu644 <droidcasts@protonmail.com>1 parent d2c2dc1 commit e0b0844
3 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
534 | 543 | | |
535 | 544 | | |
536 | 545 | | |
| 546 | + | |
537 | 547 | | |
538 | 548 | | |
539 | 549 | | |
540 | 550 | | |
541 | 551 | | |
542 | 552 | | |
| 553 | + | |
543 | 554 | | |
544 | 555 | | |
545 | 556 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
0 commit comments