I'm not sure if this change has any real effect, but as long as we don't
support 11n TX aggregation it's probably better to set the firmware's
aggregation limit to 1 frame (which means 'no aggregation').

Index: if_iwm.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwm.c,v
retrieving revision 1.92
diff -u -p -r1.92 if_iwm.c
--- if_iwm.c    22 Jun 2016 11:32:12 -0000      1.92
+++ if_iwm.c    3 Jul 2016 12:21:03 -0000
@@ -6154,7 +6154,11 @@ iwm_setrates(struct iwm_node *in)
 
        lq->agg_time_limit = htole16(4000);     /* 4ms */
        lq->agg_disable_start_th = 3;
+#ifdef notyet
        lq->agg_frame_cnt_limit = 0x3f;
+#else
+       lq->agg_frame_cnt_limit = 1; /* tx agg disabled */
+#endif
 
        cmd.data[0] = &in->in_lq;
        if (iwm_send_cmd(sc, &cmd) != 0) {

Reply via email to