dect
/
libnl
Archived
13
0
Fork 0

dect: transceiver: resync kernel header for P64 definitions

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2012-02-09 20:38:08 +01:00
parent c2fdebea42
commit 94cd080452
2 changed files with 3 additions and 0 deletions

View File

@ -106,9 +106,11 @@ enum dect_transceiver_stats_attrs {
/**
* @DECT_TRANSCEIVER_SLOW_HOPPING: transceiver has slow hopping radio
* @DECT_TRANSCEIVER_PACKET_P64: transceiver supports packet P640j
*/
enum dect_transceiver_features {
DECT_TRANSCEIVER_SLOW_HOPPING = 0x1,
DECT_TRANSCEIVER_PACKET_P64 = 0x2,
};
enum dect_transceiver_attrs {

View File

@ -239,6 +239,7 @@ uint8_t nl_dect_transceiver_get_band(const struct nl_dect_transceiver *trx)
static struct trans_tbl trx_features[] = {
__ADD(DECT_TRANSCEIVER_SLOW_HOPPING, slow-hopping)
__ADD(DECT_TRANSCEIVER_PACKET_P64, p64)
};
const char *nl_dect_transceiver_features2str(uint32_t features, char *buf, size_t len)