I just did some research on how to pass parameters for the modules, and
it seems that, according to ‘modinfo --parameters "ath9k"’, the
parameter ‘nohwcrypt’ MUST HAVE an integer value, and if we're talking
about something that is like a checkbox or a switch that has two modes,
that is, off and on, then we're probably talking about 0 and 1,
respectively.

So to say "I don't want hardware encryption", we must use:

sudo modprobe "ath9k" "nohwcrypt=1"

To tell you the truth, I don't know why they just forgot to document
"how far" goes their integer for the ‘nohwcrypt’ module parameter. That
said, it could be anything from infinite negative integers to infinite
positive integers, I just made a guess based on how most programs deal
with zeros and ones.

Reply via email to