Git Product home page Git Product logo

Comments (4)

svpcom avatar svpcom commented on August 13, 2024

There is no "tx rate lock patch".
There are patches:

  1. tx power lock.
  2. tx rate for injected packets
  3. tx timeslot patch.

[1] is needed to fix tx power at max supported level and disable CRDA restrictions
[2] enables API for specify bitrate when injecting packets. But for current ieee80211 stack is not sufficient to specify rate in injected header and you also need to set it via iw dev $WLAN set bitrates ht-mcs-5 1 sgi-5 before tx start
[3] removes most of tx timeslot guard intervals to maximize throughput. We use only one-directional broadcast and tx wouldn't listen for ACK's. https://en.wikipedia.org/wiki/Extended_interframe_space

ez-wifibroadcast-1.4-kernel-4.4-patches.diff implements [1] and [3]
mac80211-radiotap-bitrate_mcs_rtscts.linux-4.4.patch implements [2]

Also there are AR9271 patches, but I've never try it because I don't have any atheros hardware. My HW setup is RT3572 (rt2800 driver) in 5GHz band.

from wfb-ng.

Buanderie avatar Buanderie commented on August 13, 2024

Thank you for the information...
Well, concerning [1], I have some additional questions. Isn't there a risk that the card will try to output at power exceeding its nominal value (btw, have you ever seen a case where it caused HW damage ?).
I also don't quite get this part:
// CHANGES: set 58 for every data rate for (i = 0; i < Ar5416RateSize; i++) { // ratesArray[i] -= AR5416_PWR_TABLE_OFFSET_DB * 2; ratesArray[i] = 58; }
What does setting this to 58 do ? Also, why 58 ?

Regarding [3], I can't really use that since I need to be able to switch back and from AP mode.
I couldn't get [2] to work, yet but it's not really a priority :)

from wfb-ng.

svpcom avatar svpcom commented on August 13, 2024

I've didn't test any ARxxxx patches due to lack of hardware. They were taken from https://github.com/bortek/EZ-WifiBroadcast as is. In case of TX powes limit - card select minumum of its supported power (stored in EEPROM) and CRDA power limit, so you shouldn't got HW damage.

If you have recent mainline kernel (4.x) you don't need [2] (it already here). [1] and [3] are optional and needed only to increase transmit range and channel bandwidth.

from wfb-ng.

svpcom avatar svpcom commented on August 13, 2024

Moved to wiki

from wfb-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.