54 lines
1.5 KiB
Go
54 lines
1.5 KiB
Go
// Code generated by "stringer -type=Nm80211APSec"; DO NOT EDIT
|
|
|
|
package gonetworkmanager
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
_Nm80211APSec_name_0 = "Nm80211APSecNoneNm80211APSecPairWEP40Nm80211APSecPairWEP104"
|
|
_Nm80211APSec_name_1 = "Nm80211APSecPairTKIP"
|
|
_Nm80211APSec_name_2 = "Nm80211APSecPairCCMP"
|
|
_Nm80211APSec_name_3 = "Nm80211APSecGroupWEP40"
|
|
_Nm80211APSec_name_4 = "Nm80211APSecGroupWEP104"
|
|
_Nm80211APSec_name_5 = "Nm80211APSecGroupTKIP"
|
|
_Nm80211APSec_name_6 = "Nm80211APSecGroupCCMP"
|
|
_Nm80211APSec_name_7 = "Nm80211APSecKeyMgmtPSK"
|
|
_Nm80211APSec_name_8 = "Nm80211APSecKeyMgmt8021X"
|
|
)
|
|
|
|
var (
|
|
_Nm80211APSec_index_0 = [...]uint8{0, 16, 37, 59}
|
|
_Nm80211APSec_index_1 = [...]uint8{0, 20}
|
|
_Nm80211APSec_index_2 = [...]uint8{0, 20}
|
|
_Nm80211APSec_index_3 = [...]uint8{0, 22}
|
|
_Nm80211APSec_index_4 = [...]uint8{0, 23}
|
|
_Nm80211APSec_index_5 = [...]uint8{0, 21}
|
|
_Nm80211APSec_index_6 = [...]uint8{0, 21}
|
|
_Nm80211APSec_index_7 = [...]uint8{0, 22}
|
|
_Nm80211APSec_index_8 = [...]uint8{0, 24}
|
|
)
|
|
|
|
func (i Nm80211APSec) String() string {
|
|
switch {
|
|
case 0 <= i && i <= 2:
|
|
return _Nm80211APSec_name_0[_Nm80211APSec_index_0[i]:_Nm80211APSec_index_0[i+1]]
|
|
case i == 4:
|
|
return _Nm80211APSec_name_1
|
|
case i == 8:
|
|
return _Nm80211APSec_name_2
|
|
case i == 16:
|
|
return _Nm80211APSec_name_3
|
|
case i == 32:
|
|
return _Nm80211APSec_name_4
|
|
case i == 64:
|
|
return _Nm80211APSec_name_5
|
|
case i == 128:
|
|
return _Nm80211APSec_name_6
|
|
case i == 256:
|
|
return _Nm80211APSec_name_7
|
|
case i == 512:
|
|
return _Nm80211APSec_name_8
|
|
default:
|
|
return fmt.Sprintf("Nm80211APSec(%d)", i)
|
|
}
|
|
}
|