9 bit spi

I have spidev1.0 working.I know my dts files are good.I am able to loop back messages (Shorting MISO and MOSI) and can receive all messages.
I have to interface withST7735S displaycontroller in 9bit spi mode. This is where the problem starts.
When I select 9 bit mode and send for example I have to send command byte as follows tx1[6]={0x01AA,0x0177,0x0188,0x0100,0x01FF,0x0166}; the loopback bytes are different like
01AA 0x5577 and so on…Needless to say display doesnt get initialized. What am I doing wrong?