mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.4 KiB

  1. public_essid() {
  2. addcode up 4 5 "iwconfig $if essid $*"
  3. addcode down 4 5 "iwconfig $if essid any"
  4. }
  5. public_nwid() {
  6. addcode up 4 5 "iwconfig $if nwid $*"
  7. addcode down 4 5 "iwconfig $if nwid off"
  8. }
  9. public_domain() {
  10. addcode up 4 5 "iwconfig $if domain $*"
  11. addcode down 4 5 "iwconfig $if domain off"
  12. }
  13. public_freq() {
  14. addcode up 4 5 "iwconfig $if freq $*"
  15. }
  16. public_channel() {
  17. addcode up 4 5 "iwconfig $if channel $*"
  18. }
  19. public_sens() {
  20. addcode up 4 5 "iwconfig $if sens $*"
  21. }
  22. public_mode() {
  23. addcode up 4 4 "iwconfig $if mode $*"
  24. addcode down 4 4 "iwconfig $if mode Auto"
  25. }
  26. public_ap() {
  27. addcode up 4 5 "iwconfig $if ap $*"
  28. addcode down 4 5 "iwconfig $if ap any"
  29. }
  30. public_nick() {
  31. addcode up 4 5 "iwconfig $if nick $*"
  32. }
  33. public_rate() {
  34. addcode up 4 5 "iwconfig $if rate $*"
  35. addcode down 4 5 "iwconfig $if rate auto"
  36. }
  37. public_rts() {
  38. addcode up 4 5 "iwconfig $if rts $*"
  39. }
  40. public_frag() {
  41. addcode up 4 5 "iwconfig $if frag $*"
  42. }
  43. public_key() {
  44. addcode up 4 5 "iwconfig $if key $*"
  45. addcode down 4 5 "iwconfig $if key off"
  46. }
  47. public_enc() {
  48. addcode up 4 5 "iwconfig $if enc $*"
  49. addcode down 4 5 "iwconfig $if enc off"
  50. }
  51. public_power() {
  52. addcode up 4 5 "iwconfig $if power $*"
  53. }
  54. public_txpower() {
  55. addcode up 4 5 "iwconfig $if txpower $*"
  56. addcode down 4 5 "iwconfig $if txpower auto"
  57. }
  58. public_retry() {
  59. addcode up 4 5 "iwconfig $if retry $*"
  60. }
  61. public_commit() {
  62. addcode up 4 9 "iwconfig $if commit"
  63. }