Repository navigation
Commit 7182ea0
mwifiex: cfg80211: add allow_ps_mode module parameter
Add allow_ps_mode module parameter to allow ps_mode if needed.
Disallowed by default.
Reason for returning negative value (-1) is to inform userspace tools
like iw command that setting power_save to be enabled is not permitted.
Examlpe run:
$ sudo iw dev mlan0 set power_save on
command failed: Operation not permitted (-1)1 parent 5418136 commit 7182ea0
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
439 | 444 | | |
440 | 445 | | |
441 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
442 | 460 | | |
443 | 461 | | |
444 | 462 | | |
| |||
0 commit comments