You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macAcceptByPassUnknowDevice=0xfc, /*< Accept data trough MAC if packet is data can be authenticated by group key nad MIC. Security enforsment point must be handled carefully these packets */
269
270
macLoadBalancingBeaconTx=0xfd, /*< Trig Beacon from load balance module periodic */
Copy file name to clipboardExpand all lines: nanostack/platform/arm_hal_phy.h
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,11 @@
29
29
extern"C" {
30
30
#endif
31
31
32
+
/** PHY_LINK_CCA_PREPARE status definitions */
33
+
#definePHY_TX_NOT_ALLOWED -1 /**< TX not allowed. Do not continue to CCA process. */
34
+
#definePHY_TX_ALLOWED 0 /**< TX allowed. Continue to CCA process. */
35
+
#definePHY_RESTART_CSMA 1 /**< Restart CSMA-CA timer. CSMA-CA period must be calculated using given backoff time (PHY_EXTENSION_SET_CSMA_PARAMETERS) */
36
+
32
37
/** Interface states */
33
38
typedefenum {
34
39
PHY_INTERFACE_RESET, /**< Reset PHY driver and set to idle. */
@@ -45,7 +50,8 @@ typedef enum {
45
50
PHY_LINK_TX_SUCCESS, /**< MAC TX complete. MAC will a make decision to enter wait ACK or TX done state. */
46
51
PHY_LINK_TX_FAIL, /**< Link TX process fail. */
47
52
PHY_LINK_CCA_FAIL, /**< RF link CCA process fail. */
48
-
PHY_LINK_CCA_PREPARE, /**< RX Tx timeout prepare operation like channel switch to Tx channel from Receive one If operation fail must return not zero*/
53
+
PHY_LINK_CCA_OK, /**< RF link CCA process ok. */
54
+
PHY_LINK_CCA_PREPARE, /**< Prepare for CCA after CSMA-CA: changes to CCA channel and gives permission to TX. See PHY_LINK_CCA_PREPARE status definitions for return values */
0 commit comments