carl9170 toolchain: update to gcc 9.1.0
[carl9170fw.git] / carlfw / include / wl.h
index 5def1cf77eb4c1298010a68668a275630a134cc3..5566be426406b47c17b0862cc264a231d413ba1b 100644 (file)
@@ -188,8 +188,9 @@ static inline __inline unsigned int ar9170_get_rx_mpdu_len(struct dma_desc *desc
                break;
 
        case AR9170_RX_STATUS_MPDU_SINGLE:
+               /* MPDU single has both */
                mpdu_len -= sizeof(struct ar9170_rx_phystatus);
-
+               /* fall through */
        case AR9170_RX_STATUS_MPDU_FIRST:
                mpdu_len -= sizeof(struct ar9170_rx_head);
                break;
@@ -236,7 +237,7 @@ static inline __inline void unhide_super(struct dma_desc *desc)
        desc->totalLen += sizeof(struct carl9170_tx_superdesc);
 }
 
-static inline __inline __hot void read_tsf(uint32_t *tsf)
+static inline __inline __hot void read_tsf(uint32_t tsf[static 2])
 {
        /*
         * "According to the [hardware] documentation: