In current specification for SUBSCRIBE packet, QoS could be set per topic subscription request, the current document states that:
"The upper 6 bits of this byte are not used in the current version of the protocol. They are reserved for future use.
A request with both QoS level bits set SHOULD be considered an invalid packet and the connection closed. "
I am opening this JIRA issue for two things.
a) to get clarity in the sentence, for consideration of invalid packet
b) what should be done by the MQTT server, when it receives the SUBSCRIBE packet with malformed QoS section