https://github.com/d2r2/upstream-hostapd-force-ht40-mode-patch
Add option "force_ht40" to force 802.11n 40MHz AP mode, to override overlapping BSSes detection and escape fallback to 20MHz mode.
https://github.com/d2r2/upstream-hostapd-force-ht40-mode-patch
hostapd networking patch
Last synced: 4 months ago
JSON representation
Add option "force_ht40" to force 802.11n 40MHz AP mode, to override overlapping BSSes detection and escape fallback to 20MHz mode.
- Host: GitHub
- URL: https://github.com/d2r2/upstream-hostapd-force-ht40-mode-patch
- Owner: d2r2
- License: bsd-2-clause
- Created: 2020-04-26T09:28:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T14:42:58.000Z (about 6 years ago)
- Last Synced: 2025-10-12T16:03:14.962Z (8 months ago)
- Topics: hostapd, networking, patch
- Homepage:
- Size: 9.77 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Patch for upstream hostapd to force 40MHz operation
===================================================
This patch is completely based on beautiful hostapd fork: https://github.com/ivkos/hostap-force-ht40.
Purpose of this project - to get hostapd installation which work good in modern urban conditions,
where radio air is filled with neighboring Wi-Fi points. Without this modification hostapd service regularly fallback to 20MHz mode, reporting that there are overlapping BSSes exist around.
Aim of this project - to have minimal patch for upstream hostapd release, without necessity to keep the whole hostapd branch in sync with upstream sources.
Disclamer 1
-----------
Remember that this change is in violation of IEEE Std 802.11-2012, 10.15.3.2 and is entirely on your conscience.
Disclamer 2
-----------
I'm not recommended to use hostapd with wifi hardware adapters based on Realtek chipsets. My personal experience demonstrate - Realtek had bad support of nl80211 netlink interface, and, as a result, hostapd behavior looks buggy with Realtek hardware. Opposite - and this is again from my personal experience - Ralink network devices work much more stably and reliably with hostapd.
Compilation and installation
----------------------------
* Download and unzip current stable hostapd sources: https://w1.fi/hostapd/ (Latest release section).
* Copy patch file `upstream-hostapd-force-ht40-mode.patch` from here to hostapd source root folder (where hostapd, src folders located).
* Run `patch -p0 < upstream-hostapd-force-ht40-mode.patch` to apply patch.
* Execute hostapd compilation with `make` with futher installation with `make install`.
* Add `force_ht40=1` option to hostapd.conf file to force 40MHz mode.
* Start hostapd service.
>Note 1: Do not forget to copy deconfig to .config and uncomment `#CONFIG_IEEE80211N=y`, before hostapd compilation.
>Note 2: You can additionally monitor how your hostapd service work via such Android application as "WiFi Analyzer".
Tested with equipment
---------------------
* Orance PI Zero Plus with external WiFi adapter COMFAST CF-WU7300ND (Ralink RT3072 chipset) 2.4Ghz.
Contact
-------
Please use [Github issue tracker](https://github.com/d2r2/upstream-hostapd-force-ht40-mode-patch/issues) for filing bugs or feature requests.
License
-------
Licensed under BSD License.